Guest User

Untitled

a guest
May 20th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. fn main() {
  2. println!("{:?}", {
  3. +nightly fn foo(0
  4. });
  5. }
  6.  
  7.  
  8. /* ~~~~=== stderr ===~~~~
  9. Compiling playground v0.0.1 (file:///playground)
  10. error: incorrect close delimiter: `}`
  11. --> src/main.rs:6:5
  12. |
  13. 6 | });
  14. | ^
  15. |
  16. note: unclosed delimiter
  17. --> src/main.rs:5:24
  18. |
  19. 5 | +nightly fn foo(0
  20. | ^
  21.  
  22. error: expected expression, found `+`
  23. --> src/main.rs:5:9
  24. |
  25. 5 | +nightly fn foo(0
  26. | ^ expected expression
  27.  
  28. error: aborting due to 2 previous errors
  29.  
  30. error: Could not compile `playground`.
  31.  
  32. To learn more, run the command again with --verbose.
  33.  
  34. */
  35.  
  36. /* ~~~~=== stdout ===~~~~
  37.  
  38. */
Add Comment
Please, Sign In to add comment