Guest User

Untitled

a guest
Apr 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. fn main() {
  2. println!("{:?}", {
  3. u8::from_str_radix("10", 1)
  4. });
  5. }
  6.  
  7.  
  8. /* ~~~~=== stderr ===~~~~
  9. Compiling playground v0.0.1 (file:///playground)
  10. Finished dev [unoptimized + debuginfo] target(s) in 0.50 secs
  11. Running `target/debug/playground`
  12. thread 'main' panicked at 'from_str_radix_int: must lie in the range `[2, 36]` - found 1', libcore/num/mod.rs:3230:5
  13. note: Run with `RUST_BACKTRACE=1` for a backtrace.
  14.  
  15. */
  16.  
  17. /* ~~~~=== stdout ===~~~~
  18.  
  19. */
Add Comment
Please, Sign In to add comment