Guest User

Untitled

a guest
Jun 24th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. fn main() {
  2. println!("{:?}", {
  3. Vec<i32>::new()
  4. });
  5. }
  6.  
  7.  
  8. /* ~~~~=== stderr ===~~~~
  9. Compiling playground v0.0.1 (file:///playground)
  10. error: chained comparison operators require parentheses
  11. --> src/main.rs:5:12
  12. |
  13. 5 | Vec<i32>::new()
  14. | ^^^^^^^
  15. |
  16. = help: use `::<...>` instead of `<...>` if you meant to specify type arguments
  17. = help: or use `(...)` if you meant to specify fn arguments
  18.  
  19. error: aborting due to previous error
  20.  
  21. error: Could not compile `playground`.
  22.  
  23. To learn more, run the command again with --verbose.
  24.  
  25. */
  26.  
  27. /* ~~~~=== stdout ===~~~~
  28.  
  29. */
Add Comment
Please, Sign In to add comment