]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rust-2021/future-prelude-collision-shadow.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / rust-2021 / future-prelude-collision-shadow.stderr
index ad9b8af00e467b5173d083e73968f6ea8d2f5b11..e60f9c039be36cd746be8f8bff1ada996bc9bef9 100644 (file)
@@ -3,7 +3,7 @@ error[E0599]: no method named `try_into` found for type `u8` in the current scop
    |
 LL |         let _: u32 = 3u8.try_into().unwrap();
    |                          ^^^^^^^^ method not found in `u8`
-   | 
+   |
   ::: $SRC_DIR/core/src/convert/mod.rs:LL:COL
    |
 LL |     fn try_into(self) -> Result<T, Self::Error>;
@@ -21,19 +21,19 @@ LL |     fn try_into(self) -> Result<T, Self::Error>;
 help: consider wrapping the receiver expression with the appropriate type
    |
 LL |         let _: u32 = Box::new(3u8).try_into().unwrap();
-   |                      ^^^^^^^^^   ^
+   |                      +++++++++   +
 help: consider wrapping the receiver expression with the appropriate type
    |
 LL |         let _: u32 = Pin::new(3u8).try_into().unwrap();
-   |                      ^^^^^^^^^   ^
+   |                      +++++++++   +
 help: consider wrapping the receiver expression with the appropriate type
    |
 LL |         let _: u32 = Arc::new(3u8).try_into().unwrap();
-   |                      ^^^^^^^^^   ^
+   |                      +++++++++   +
 help: consider wrapping the receiver expression with the appropriate type
    |
 LL |         let _: u32 = Rc::new(3u8).try_into().unwrap();
-   |                      ^^^^^^^^   ^
+   |                      ++++++++   +
 
 error: aborting due to previous error