summaryrefslogtreecommitdiff
path: root/tests/ui-nightly/late_compile_pass.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui-nightly/late_compile_pass.stderr')
-rw-r--r--tests/ui-nightly/late_compile_pass.stderr148
1 files changed, 78 insertions, 70 deletions
diff --git a/tests/ui-nightly/late_compile_pass.stderr b/tests/ui-nightly/late_compile_pass.stderr
index fbf9da7..3c45dc4 100644
--- a/tests/ui-nightly/late_compile_pass.stderr
+++ b/tests/ui-nightly/late_compile_pass.stderr
@@ -1,58 +1,66 @@
+warning: unused import: `zerocopy::KnownLayout`
+ --> tests/ui-nightly/late_compile_pass.rs:16:5
+ |
+16 | use zerocopy::KnownLayout;
+ | ^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: `#[warn(unused_imports)]` on by default
+
error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied
- --> tests/ui-nightly/late_compile_pass.rs:23:10
+ --> tests/ui-nightly/late_compile_pass.rs:28:10
|
-23 | #[derive(FromZeroes)]
+28 | #[derive(FromZeroes)]
| ^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `FromZeroes`:
- ()
- AU16
- F32<O>
- F64<O>
- FromZeroes1
- I128<O>
- I16<O>
- I32<O>
+ bool
+ char
+ isize
+ i8
+ i16
+ i32
+ i64
+ i128
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
= note: this error originates in the derive macro `FromZeroes` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
- --> tests/ui-nightly/late_compile_pass.rs:32:10
+ --> tests/ui-nightly/late_compile_pass.rs:37:10
|
-32 | #[derive(FromBytes)]
+37 | #[derive(FromBytes)]
| ^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `FromBytes`:
- ()
- AU16
- F32<O>
- F64<O>
- FromBytes1
- I128<O>
- I16<O>
- I32<O>
+ isize
+ i8
+ i16
+ i32
+ i64
+ i128
+ usize
+ u8
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `FromBytes1: FromZeroes` is not satisfied
- --> tests/ui-nightly/late_compile_pass.rs:32:10
+ --> tests/ui-nightly/late_compile_pass.rs:37:10
|
-32 | #[derive(FromBytes)]
+37 | #[derive(FromBytes)]
| ^^^^^^^^^ the trait `FromZeroes` is not implemented for `FromBytes1`
|
= help: the following other types implement trait `FromZeroes`:
- ()
- AU16
- F32<O>
- F64<O>
- FromZeroes1
- I128<O>
- I16<O>
- I32<O>
+ bool
+ char
+ isize
+ i8
+ i16
+ i32
+ i64
+ i128
and $N others
note: required by a bound in `FromBytes`
--> $WORKSPACE/src/lib.rs
@@ -62,80 +70,80 @@ note: required by a bound in `FromBytes`
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied
- --> tests/ui-nightly/late_compile_pass.rs:41:10
+ --> tests/ui-nightly/late_compile_pass.rs:46:10
|
-41 | #[derive(AsBytes)]
+46 | #[derive(AsBytes)]
| ^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy`
|
= help: the following other types implement trait `AsBytes`:
- ()
- AU16
- AsBytes1
- F32<O>
- F64<O>
- I128<O>
- I16<O>
- I32<O>
+ bool
+ char
+ isize
+ i8
+ i16
+ i32
+ i64
+ i128
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
= note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
- --> tests/ui-nightly/late_compile_pass.rs:51:10
+ --> tests/ui-nightly/late_compile_pass.rs:56:10
|
-51 | #[derive(Unaligned)]
+56 | #[derive(Unaligned)]
| ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
|
= help: the following other types implement trait `Unaligned`:
- ()
- F32<O>
- F64<O>
- I128<O>
- I16<O>
- I32<O>
- I64<O>
- ManuallyDrop<T>
+ bool
+ i8
+ u8
+ Unaligned1
+ Unaligned2
+ Unaligned3
+ U16<O>
+ U32<O>
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
- --> tests/ui-nightly/late_compile_pass.rs:59:10
+ --> tests/ui-nightly/late_compile_pass.rs:64:10
|
-59 | #[derive(Unaligned)]
+64 | #[derive(Unaligned)]
| ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
|
= help: the following other types implement trait `Unaligned`:
- ()
- F32<O>
- F64<O>
- I128<O>
- I16<O>
- I32<O>
- I64<O>
- ManuallyDrop<T>
+ bool
+ i8
+ u8
+ Unaligned1
+ Unaligned2
+ Unaligned3
+ U16<O>
+ U32<O>
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
- --> tests/ui-nightly/late_compile_pass.rs:66:10
+ --> tests/ui-nightly/late_compile_pass.rs:71:10
|
-66 | #[derive(Unaligned)]
+71 | #[derive(Unaligned)]
| ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
|
= help: the following other types implement trait `Unaligned`:
- ()
- F32<O>
- F64<O>
- I128<O>
- I16<O>
- I32<O>
- I64<O>
- ManuallyDrop<T>
+ bool
+ i8
+ u8
+ Unaligned1
+ Unaligned2
+ Unaligned3
+ U16<O>
+ U32<O>
and $N others
= help: see issue #48214
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable