Guest User

Untitled

a guest
May 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. fn main() {
  2. println!("{:?}", {
  3. type X: Iterator<Item=u32>;
  4. });
  5. }
  6.  
  7.  
  8. /* ~~~~=== stderr ===~~~~
  9. Compiling playground v0.0.1 (file:///playground)
  10. error: expected one of `<`, `=`, or `where`, found `:`
  11. --> src/main.rs:5:15
  12. |
  13. 5 | type X: Iterator<Item=u32>;
  14. | ^ expected one of `<`, `=`, or `where` here
  15.  
  16. error: aborting due to previous error
  17.  
  18. error: Could not compile `playground`.
  19.  
  20. To learn more, run the command again with --verbose.
  21.  
  22. */
  23.  
  24. /* ~~~~=== stdout ===~~~~
  25.  
  26. */
Add Comment
Please, Sign In to add comment