Guest User

Untitled

a guest
Apr 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. #![features(foo)]
  2.  
  3. fn main() {
  4. println!("{:?}", {
  5. bar
  6. });
  7. }
  8.  
  9.  
  10. /* ~~~~=== stderr ===~~~~
  11. Compiling playground v0.0.1 (file:///playground)
  12. error[E0425]: cannot find value `bar` in this scope
  13. --> src/main.rs:5:10
  14. |
  15. 5 | bar
  16. | ^^^ not found in this scope
  17.  
  18. error[E0658]: The attribute `features` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
  19. --> src/main.rs:1:1
  20. |
  21. 1 | #![features(foo)]
  22. | ^^^^^^^^^^^^^^^^^
  23.  
  24. error: aborting due to 2 previous errors
  25.  
  26. error: Could not compile `playground`.
  27.  
  28. To learn more, run the command again with --verbose.
  29.  
  30. */
  31.  
  32. /* ~~~~=== stdout ===~~~~
  33.  
  34. */
Add Comment
Please, Sign In to add comment