You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= note: this struct contains `NonExhaustive`, which is marked with `#[non_exhaustive]`, and makes it not a breaking change to become non-zero-sized in the future.
25
25
26
26
error: zero-sized fields in repr(transparent) cannot contain external non-exhaustive types
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
33
+
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
34
+
= note: this enum contains `NonExhaustiveEnum`, which is marked with `#[non_exhaustive]`, and makes it not a breaking change to become non-zero-sized in the future.
35
+
36
+
error: zero-sized fields in repr(transparent) cannot contain external non-exhaustive types
37
+
--> $DIR/repr-transparent-non-exhaustive.rs:52:22
38
+
|
39
+
LL | pub struct T8(Sized, NonExhaustiveVariant);
40
+
| ^^^^^^^^^^^^^^^^^^^^
41
+
|
42
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
43
+
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
44
+
= note: this enum contains `NonExhaustiveVariant`, which is marked with `#[non_exhaustive]`, and makes it not a breaking change to become non-zero-sized in the future.
45
+
46
+
error: zero-sized fields in repr(transparent) cannot contain external non-exhaustive types
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
43
63
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
44
64
= note: this struct contains `NonExhaustive`, which is marked with `#[non_exhaustive]`, and makes it not a breaking change to become non-zero-sized in the future.
45
65
46
66
error: zero-sized fields in repr(transparent) cannot contain external non-exhaustive types
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
73
+
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
74
+
= note: this enum contains `NonExhaustiveEnum`, which is marked with `#[non_exhaustive]`, and makes it not a breaking change to become non-zero-sized in the future.
75
+
76
+
error: zero-sized fields in repr(transparent) cannot contain external non-exhaustive types
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
83
+
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
84
+
= note: this enum contains `NonExhaustiveVariant`, which is marked with `#[non_exhaustive]`, and makes it not a breaking change to become non-zero-sized in the future.
85
+
86
+
error: zero-sized fields in repr(transparent) cannot contain external non-exhaustive types
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
63
103
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
64
104
= note: this struct contains `NonExhaustive`, which is marked with `#[non_exhaustive]`, and makes it not a breaking change to become non-zero-sized in the future.
65
105
66
-
error: aborting due to 6 previous errors
106
+
error: zero-sized fields in repr(transparent) cannot contain external non-exhaustive types
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
113
+
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
114
+
= note: this enum contains `NonExhaustiveEnum`, which is marked with `#[non_exhaustive]`, and makes it not a breaking change to become non-zero-sized in the future.
115
+
116
+
error: zero-sized fields in repr(transparent) cannot contain external non-exhaustive types
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
123
+
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
124
+
= note: this enum contains `NonExhaustiveVariant`, which is marked with `#[non_exhaustive]`, and makes it not a breaking change to become non-zero-sized in the future.
0 commit comments