diff options
Diffstat (limited to 'tests/ui-msrv/late_compile_pass.stderr')
-rw-r--r-- | tests/ui-msrv/late_compile_pass.stderr | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/tests/ui-msrv/late_compile_pass.stderr b/tests/ui-msrv/late_compile_pass.stderr index 29d20e4..39dbcd1 100644 --- a/tests/ui-msrv/late_compile_pass.stderr +++ b/tests/ui-msrv/late_compile_pass.stderr @@ -1,25 +1,33 @@ +warning: unused import: `zerocopy::KnownLayout` + --> tests/ui-msrv/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-msrv/late_compile_pass.rs:23:10 + --> tests/ui-msrv/late_compile_pass.rs:28:10 | -23 | #[derive(FromZeroes)] +28 | #[derive(FromZeroes)] | ^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy` | = help: see issue #48214 = 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-msrv/late_compile_pass.rs:32:10 + --> tests/ui-msrv/late_compile_pass.rs:37:10 | -32 | #[derive(FromBytes)] +37 | #[derive(FromBytes)] | ^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy` | = help: see issue #48214 = 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-msrv/late_compile_pass.rs:32:10 + --> tests/ui-msrv/late_compile_pass.rs:37:10 | -32 | #[derive(FromBytes)] +37 | #[derive(FromBytes)] | ^^^^^^^^^ the trait `FromZeroes` is not implemented for `FromBytes1` | note: required by a bound in `FromBytes` @@ -30,36 +38,36 @@ 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-msrv/late_compile_pass.rs:41:10 + --> tests/ui-msrv/late_compile_pass.rs:46:10 | -41 | #[derive(AsBytes)] +46 | #[derive(AsBytes)] | ^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy` | = help: see issue #48214 = 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-msrv/late_compile_pass.rs:51:10 + --> tests/ui-msrv/late_compile_pass.rs:56:10 | -51 | #[derive(Unaligned)] +56 | #[derive(Unaligned)] | ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16` | = help: see issue #48214 = 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-msrv/late_compile_pass.rs:59:10 + --> tests/ui-msrv/late_compile_pass.rs:64:10 | -59 | #[derive(Unaligned)] +64 | #[derive(Unaligned)] | ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16` | = help: see issue #48214 = 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-msrv/late_compile_pass.rs:66:10 + --> tests/ui-msrv/late_compile_pass.rs:71:10 | -66 | #[derive(Unaligned)] +71 | #[derive(Unaligned)] | ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16` | = help: see issue #48214 |