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: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
124
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.
125
125
126
-
error: aborting due to 12 previous errors
126
+
error: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types
127
+
--> $DIR/repr-transparent-non-exhaustive.rs:97:16
128
+
|
129
+
LL | pub struct T17(NonExhaustive, Sized);
130
+
| ^^^^^^^^^^^^^
131
+
|
132
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
133
+
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
134
+
= 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.
135
+
136
+
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!
143
+
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
144
+
= 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.
145
+
146
+
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!
163
+
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
164
+
= 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.
0 commit comments