@@ -193,7 +193,7 @@ LL | mod inner { #![repr="3900"] }
193193 | ^^^^^^^^^^^^^^^ needs a hint
194194 |
195195 = 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 )]`
197197 = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
198198
199199warning: `repr` attribute isn't configurable with a literal
@@ -202,7 +202,7 @@ warning: `repr` attribute isn't configurable with a literal
202202LL | #[repr = "3900"] fn f() { }
203203 | ^^^^^^^^^^^^^^^^ needs a hint
204204 |
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 )]`
206206 = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
207207
208208warning: `repr` attribute isn't configurable with a literal
@@ -211,7 +211,7 @@ warning: `repr` attribute isn't configurable with a literal
211211LL | #[repr = "3900"] type T = S;
212212 | ^^^^^^^^^^^^^^^^ needs a hint
213213 |
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 )]`
215215 = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
216216
217217warning: `repr` attribute isn't configurable with a literal
@@ -220,7 +220,7 @@ warning: `repr` attribute isn't configurable with a literal
220220LL | #[repr = "3900"] impl S { }
221221 | ^^^^^^^^^^^^^^^^ needs a hint
222222 |
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 )]`
224224 = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
225225
226226warning: `repr` attribute isn't configurable with a literal
@@ -229,7 +229,7 @@ warning: `repr` attribute isn't configurable with a literal
229229LL | #[repr = "3900"]
230230 | ^^^^^^^^^^^^^^^^ needs a hint
231231 |
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 )]`
233233 = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
234234
235235warning: `repr` attribute isn't configurable with a literal
@@ -238,7 +238,7 @@ warning: `repr` attribute isn't configurable with a literal
238238LL | #![repr = "3900"]
239239 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ needs a hint
240240 |
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 )]`
242242 = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs.html>
243243
244244warning: unused attribute
0 commit comments