@@ -193,7 +193,7 @@ LL | mod inner { #![repr="3900"] }
193
193
| ^^^^^^^^^^^^^^^ needs a hint
194
194
|
195
195
= note: #[warn(bad_repr)] on by default
196
- = help: valid hints include `#[repr(C)]`, `#[repr(packed)]` and `#[repr(rust )]`
196
+ = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent )]`
197
197
= note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
198
198
199
199
warning: `repr` attribute isn't configurable with a literal
@@ -202,7 +202,7 @@ warning: `repr` attribute isn't configurable with a literal
202
202
LL | #[repr = "3900"] fn f() { }
203
203
| ^^^^^^^^^^^^^^^^ needs a hint
204
204
|
205
- = help: valid hints include `#[repr(C)]`, `#[repr(packed)]` and `#[repr(rust )]`
205
+ = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent )]`
206
206
= note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
207
207
208
208
warning: `repr` attribute isn't configurable with a literal
@@ -211,7 +211,7 @@ warning: `repr` attribute isn't configurable with a literal
211
211
LL | #[repr = "3900"] type T = S;
212
212
| ^^^^^^^^^^^^^^^^ needs a hint
213
213
|
214
- = help: valid hints include `#[repr(C)]`, `#[repr(packed)]` and `#[repr(rust )]`
214
+ = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent )]`
215
215
= note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
216
216
217
217
warning: `repr` attribute isn't configurable with a literal
@@ -220,7 +220,7 @@ warning: `repr` attribute isn't configurable with a literal
220
220
LL | #[repr = "3900"] impl S { }
221
221
| ^^^^^^^^^^^^^^^^ needs a hint
222
222
|
223
- = help: valid hints include `#[repr(C)]`, `#[repr(packed)]` and `#[repr(rust )]`
223
+ = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent )]`
224
224
= note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
225
225
226
226
warning: `repr` attribute isn't configurable with a literal
@@ -229,7 +229,7 @@ warning: `repr` attribute isn't configurable with a literal
229
229
LL | #[repr = "3900"]
230
230
| ^^^^^^^^^^^^^^^^ needs a hint
231
231
|
232
- = help: valid hints include `#[repr(C)]`, `#[repr(packed)]` and `#[repr(rust )]`
232
+ = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent )]`
233
233
= note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
234
234
235
235
warning: `repr` attribute isn't configurable with a literal
@@ -238,7 +238,7 @@ warning: `repr` attribute isn't configurable with a literal
238
238
LL | #![repr = "3900"]
239
239
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ needs a hint
240
240
|
241
- = help: valid hints include `#[repr(C)]`, `#[repr(packed)]` and `#[repr(rust )]`
241
+ = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent )]`
242
242
= note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
243
243
244
244
warning: unused attribute
0 commit comments