Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- println!("{:?}", {
- u8::from_str_radix("10", 0)
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- Finished dev [unoptimized + debuginfo] target(s) in 0.50 secs
- Running `target/debug/playground`
- thread 'main' panicked at 'from_str_radix_int: must lie in the range `[2, 36]` - found 0', libcore/num/mod.rs:3230:5
- note: Run with `RUST_BACKTRACE=1` for a backtrace.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment