Guest User

Untitled

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