fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0599]: no method named `try_into` found for type `u8` in the current scope 2 --> $DIR/future-prelude-collision-shadow.rs:27:26 3 | 4LL | let _: u32 = 3u8.try_into().unwrap(); 5 | ^^^^^^^^ method not found in `u8` 6 | 7 = help: items from traits can only be used if the trait is in scope 8 = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021 9help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: 10 | 11LL + use crate::m::TryIntoU32; 12 | 13LL + use std::convert::TryInto; 14 | 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0599`.