@@ -194,7 +194,7 @@ LL | mod inner { #![repr="3900"] }
194
194
|
195
195
= note: #[warn(bad_repr)] on by default
196
196
= help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
197
- = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs .html>
197
+ = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout .html>
198
198
199
199
warning: `repr` attribute isn't configurable with a literal
200
200
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:320:5
@@ -203,7 +203,7 @@ LL | #[repr = "3900"] fn f() { }
203
203
| ^^^^^^^^^^^^^^^^ needs a hint
204
204
|
205
205
= help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
206
- = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs .html>
206
+ = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout .html>
207
207
208
208
warning: `repr` attribute isn't configurable with a literal
209
209
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:326:5
@@ -212,7 +212,7 @@ LL | #[repr = "3900"] type T = S;
212
212
| ^^^^^^^^^^^^^^^^ needs a hint
213
213
|
214
214
= help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
215
- = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs .html>
215
+ = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout .html>
216
216
217
217
warning: `repr` attribute isn't configurable with a literal
218
218
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:330:5
@@ -221,7 +221,7 @@ LL | #[repr = "3900"] impl S { }
221
221
| ^^^^^^^^^^^^^^^^ needs a hint
222
222
|
223
223
= help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
224
- = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs .html>
224
+ = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout .html>
225
225
226
226
warning: `repr` attribute isn't configurable with a literal
227
227
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:312:1
@@ -230,7 +230,7 @@ LL | #[repr = "3900"]
230
230
| ^^^^^^^^^^^^^^^^ needs a hint
231
231
|
232
232
= help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
233
- = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs .html>
233
+ = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout .html>
234
234
235
235
warning: `repr` attribute isn't configurable with a literal
236
236
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:62:1
@@ -239,7 +239,7 @@ LL | #![repr = "3900"]
239
239
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ needs a hint
240
240
|
241
241
= help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
242
- = note: for more information, visit <https://doc.rust-lang.org/nomicon/other-reprs .html>
242
+ = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout .html>
243
243
244
244
warning: unused attribute
245
245
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:194:5
0 commit comments