Guest User

Untitled

a guest
May 26th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. fn main() {
  2. println!("{:?}", {
  3. use std::fmt::Display; let x: Arc<Display>;
  4. });
  5. }
  6.  
  7.  
  8. /* ~~~~=== stderr ===~~~~
  9. Compiling playground v0.0.1 (file:///playground)
  10. error[E0412]: cannot find type `Arc` in this scope
  11. --> src/main.rs:5:39
  12. |
  13. 5 | use std::fmt::Display; let x: Arc<Display>;
  14. | ^^^ not found in this scope
  15. help: possible candidate is found in another module, you can import it into scope
  16. |
  17. 3 | use std::sync::Arc;
  18. |
  19.  
  20. error: aborting due to previous error
  21.  
  22. For more information about this error, try `rustc --explain E0412`.
  23. error: Could not compile `playground`.
  24.  
  25. To learn more, run the command again with --verbose.
  26.  
  27. */
  28.  
  29. /* ~~~~=== stdout ===~~~~
  30.  
  31. */
Add Comment
Please, Sign In to add comment