Guest User

Untitled

a guest
Apr 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. fn main() {
  2. println!("{:?}", {
  3. typ X = (&str, &[&str]);
  4. });
  5. }
  6.  
  7.  
  8. /* ~~~~=== stderr ===~~~~
  9. Compiling playground v0.0.1 (file:///playground)
  10. error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `X`
  11. --> src/main.rs:5:13
  12. |
  13. 5 | typ X = (&str, &[&str]);
  14. | ^ expected one of 8 possible tokens 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