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  ::: $SRC_DIR/core/src/convert/mod.rs:LL:COL
8   |
9LL |     fn try_into(self) -> Result<T, Self::Error>;
10   |        --------
11   |        |
12   |        the method is available for `Box<u8>` here
13   |        the method is available for `Pin<u8>` here
14   |        the method is available for `Arc<u8>` here
15   |        the method is available for `Rc<u8>` here
16   |
17   = help: items from traits can only be used if the trait is in scope
18   = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021
19help: consider wrapping the receiver expression with the appropriate type
20   |
21LL |         let _: u32 = Box::new(3u8).try_into().unwrap();
22   |                      +++++++++   +
23help: consider wrapping the receiver expression with the appropriate type
24   |
25LL |         let _: u32 = Pin::new(3u8).try_into().unwrap();
26   |                      +++++++++   +
27help: consider wrapping the receiver expression with the appropriate type
28   |
29LL |         let _: u32 = Arc::new(3u8).try_into().unwrap();
30   |                      +++++++++   +
31help: consider wrapping the receiver expression with the appropriate type
32   |
33LL |         let _: u32 = Rc::new(3u8).try_into().unwrap();
34   |                      ++++++++   +
35help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
36   |
37LL |     use crate::m::TryIntoU32;
38   |
39LL |     use std::convert::TryInto;
40   |
41
42error: aborting due to previous error
43
44For more information about this error, try `rustc --explain E0599`.
45