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
error: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types
17
-
--> $DIR/repr-transparent-non-exhaustive.rs:42:22
10
+
--> $DIR/repr-transparent-non-exhaustive.rs:41:22
18
11
|
19
12
LL | pub struct T6(Sized, NonExhaustive);
20
13
| ^^^^^^^^^^^^^
21
14
|
22
-
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
23
-
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
24
15
= 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
16
26
17
error: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types
27
-
--> $DIR/repr-transparent-non-exhaustive.rs:47:22
18
+
--> $DIR/repr-transparent-non-exhaustive.rs:45:22
28
19
|
29
20
LL | pub struct T7(Sized, NonExhaustiveEnum);
30
21
| ^^^^^^^^^^^^^^^^^
31
22
|
32
-
= 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
23
= 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
24
36
25
error: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types
37
-
--> $DIR/repr-transparent-non-exhaustive.rs:52:22
26
+
--> $DIR/repr-transparent-non-exhaustive.rs:49:22
38
27
|
39
28
LL | pub struct T8(Sized, NonExhaustiveVariant);
40
29
| ^^^^^^^^^^^^^^^^^^^^
41
30
|
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
31
= 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
32
46
33
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
-
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
64
47
= 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
48
66
49
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
55
= 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
56
76
57
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
63
= 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
64
86
65
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!
103
-
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
104
79
= 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.
105
80
106
81
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
87
= 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
88
116
89
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
95
= 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
96
126
97
error: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types
127
-
--> $DIR/repr-transparent-non-exhaustive.rs:97:16
98
+
--> $DIR/repr-transparent-non-exhaustive.rs:85:16
128
99
|
129
100
LL | pub struct T17(NonExhaustive, Sized);
130
101
| ^^^^^^^^^^^^^
131
102
|
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
103
= 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
104
136
105
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
111
= 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
112
146
113
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
127
= 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