Guest User

Untitled

a guest
Jul 20th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. fn main() {
  2. println!("{:?}", {
  3. format!("{:f}", 10)
  4. });
  5. }
  6.  
  7.  
  8. /* ~~~~=== stderr ===~~~~
  9. Compiling playground v0.0.1 (file:///playground)
  10. error: unknown format trait `f`
  11. --> src/main.rs:5:25
  12. |
  13. 5 | format!("{:f}", 10)
  14. | ^^
  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