daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest May 21st, 2018 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2.     println!("{:?}", {
  3.         use std::iter::*: once("call").chain(repeat(" ret")).take(20).collect::<String>()
  4.     });
  5. }
  6.  
  7.  
  8. /* ~~~~=== stderr ===~~~~
  9.    Compiling playground v0.0.1 (file:///playground)
  10. error: expected `;`, found `:`
  11.  --> src/main.rs:5:25
  12.   |
  13. 5 |         use std::iter::*: once("call").chain(repeat(" ret")).take(20).collect::<String>()
  14.   |                         ^ expected `;`
  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. */
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top