@@ -1236,7 +1236,7 @@ LL | #[link_section = "1800"]
1236
1236
| ^^^^^^^^^^^^^^^^^^^^^^^^
1237
1237
|
1238
1238
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1239
- = help: `#[link_section]` can be applied to statics and functions
1239
+ = help: `#[link_section]` can be applied to functions and statics
1240
1240
1241
1241
warning: `#[link_section]` attribute cannot be used on modules
1242
1242
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:683:17
@@ -1245,7 +1245,7 @@ LL | mod inner { #![link_section="1800"] }
1245
1245
| ^^^^^^^^^^^^^^^^^^^^^^^
1246
1246
|
1247
1247
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1248
- = help: `#[link_section]` can be applied to statics and functions
1248
+ = help: `#[link_section]` can be applied to functions and statics
1249
1249
1250
1250
warning: `#[link_section]` attribute cannot be used on structs
1251
1251
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:691:5
@@ -1254,7 +1254,7 @@ LL | #[link_section = "1800"] struct S;
1254
1254
| ^^^^^^^^^^^^^^^^^^^^^^^^
1255
1255
|
1256
1256
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1257
- = help: `#[link_section]` can be applied to statics and functions
1257
+ = help: `#[link_section]` can be applied to functions and statics
1258
1258
1259
1259
warning: `#[link_section]` attribute cannot be used on type aliases
1260
1260
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:697:5
@@ -1263,7 +1263,7 @@ LL | #[link_section = "1800"] type T = S;
1263
1263
| ^^^^^^^^^^^^^^^^^^^^^^^^
1264
1264
|
1265
1265
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1266
- = help: `#[link_section]` can be applied to statics and functions
1266
+ = help: `#[link_section]` can be applied to functions and statics
1267
1267
1268
1268
warning: `#[link_section]` attribute cannot be used on inherent impl blocks
1269
1269
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:703:5
@@ -1272,7 +1272,7 @@ LL | #[link_section = "1800"] impl S { }
1272
1272
| ^^^^^^^^^^^^^^^^^^^^^^^^
1273
1273
|
1274
1274
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1275
- = help: `#[link_section]` can be applied to statics and functions
1275
+ = help: `#[link_section]` can be applied to functions and statics
1276
1276
1277
1277
warning: `#[must_use]` attribute cannot be used on modules
1278
1278
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:764:1
@@ -1572,7 +1572,7 @@ LL | #![link_section = "1800"]
1572
1572
| ^^^^^^^^^^^^^^^^^^^^^^^^^
1573
1573
|
1574
1574
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1575
- = help: `#[link_section]` can be applied to statics and functions
1575
+ = help: `#[link_section]` can be applied to functions and statics
1576
1576
1577
1577
warning: `#[must_use]` attribute cannot be used on crates
1578
1578
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:84:1
0 commit comments