]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/error-festival.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / error-festival.stderr
index 0ddb6fc99b004d4459e24dfd28c715ed69937ca6..43122c13efba88cdca97cd3f0176bf6d082a20f7 100644 (file)
@@ -44,26 +44,17 @@ LL | enum Question {
 note: the following trait must be implemented
   --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
    |
-LL | / pub trait Not {
-LL | |     /// The resulting type after applying the `!` operator.
-LL | |     #[stable(feature = "rust1", since = "1.0.0")]
-LL | |     type Output;
-...  |
-LL | |     fn not(self) -> Self::Output;
-LL | | }
-   | |_^
+LL | pub trait Not {
+   | ^^^^^^^^^^^^^
 
 error[E0604]: only `u8` can be cast as `char`, not `u32`
   --> $DIR/error-festival.rs:25:5
    |
-LL |     0u32 as char;
-   |     ^^^^^^^^^^^^ invalid cast
-   |
-help: try `char::from_u32` instead
-  --> $DIR/error-festival.rs:25:5
-   |
 LL |     0u32 as char;
    |     ^^^^^^^^^^^^
+   |     |
+   |     invalid cast
+   |     help: try `char::from_u32` instead: `char::from_u32(0u32)`
 
 error[E0605]: non-primitive cast: `u8` as `Vec<u8>`
   --> $DIR/error-festival.rs:29:5