1
- error: `Clone` can't be derived on this `#[repr(packed)]` struct with type or const parameters (error E0133)
1
+ error: `Clone` can't be derived on this `#[repr(packed)]` struct with type or const parameters
2
2
--> $DIR/deriving-with-repr-packed.rs:11:16
3
3
|
4
4
LL | #[derive(Copy, Clone, Default, PartialEq, Eq)]
@@ -13,7 +13,7 @@ LL | #![deny(unaligned_references)]
13
13
= note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
14
14
= note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
15
15
16
- error: `PartialEq` can't be derived on this `#[repr(packed)]` struct with type or const parameters (error E0133)
16
+ error: `PartialEq` can't be derived on this `#[repr(packed)]` struct with type or const parameters
17
17
--> $DIR/deriving-with-repr-packed.rs:11:32
18
18
|
19
19
LL | #[derive(Copy, Clone, Default, PartialEq, Eq)]
@@ -23,7 +23,7 @@ LL | #[derive(Copy, Clone, Default, PartialEq, Eq)]
23
23
= note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
24
24
= note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
25
25
26
- error: `Hash` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` (error E0133)
26
+ error: `Hash` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy`
27
27
--> $DIR/deriving-with-repr-packed.rs:19:19
28
28
|
29
29
LL | #[derive(Default, Hash)]
@@ -33,7 +33,7 @@ LL | #[derive(Default, Hash)]
33
33
= note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
34
34
= note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
35
35
36
- error: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` (error E0133)
36
+ error: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy`
37
37
--> $DIR/deriving-with-repr-packed.rs:39:10
38
38
|
39
39
LL | #[derive(Debug, Default)]
@@ -46,7 +46,7 @@ LL | #[derive(Debug, Default)]
46
46
error: aborting due to 4 previous errors
47
47
48
48
Future incompatibility report: Future breakage diagnostic:
49
- error: `Clone` can't be derived on this `#[repr(packed)]` struct with type or const parameters (error E0133)
49
+ error: `Clone` can't be derived on this `#[repr(packed)]` struct with type or const parameters
50
50
--> $DIR/deriving-with-repr-packed.rs:11:16
51
51
|
52
52
LL | #[derive(Copy, Clone, Default, PartialEq, Eq)]
@@ -62,7 +62,7 @@ LL | #![deny(unaligned_references)]
62
62
= note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
63
63
64
64
Future breakage diagnostic:
65
- error: `PartialEq` can't be derived on this `#[repr(packed)]` struct with type or const parameters (error E0133)
65
+ error: `PartialEq` can't be derived on this `#[repr(packed)]` struct with type or const parameters
66
66
--> $DIR/deriving-with-repr-packed.rs:11:32
67
67
|
68
68
LL | #[derive(Copy, Clone, Default, PartialEq, Eq)]
@@ -78,7 +78,7 @@ LL | #![deny(unaligned_references)]
78
78
= note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
79
79
80
80
Future breakage diagnostic:
81
- error: `Hash` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` (error E0133)
81
+ error: `Hash` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy`
82
82
--> $DIR/deriving-with-repr-packed.rs:19:19
83
83
|
84
84
LL | #[derive(Default, Hash)]
@@ -94,7 +94,7 @@ LL | #![deny(unaligned_references)]
94
94
= note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
95
95
96
96
Future breakage diagnostic:
97
- error: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy` (error E0133)
97
+ error: `Debug` can't be derived on this `#[repr(packed)]` struct that does not derive `Copy`
98
98
--> $DIR/deriving-with-repr-packed.rs:39:10
99
99
|
100
100
LL | #[derive(Debug, Default)]
0 commit comments