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