@@ -1219,7 +1219,7 @@ LL | #[link_section = "1800"]
12191219 | ^^^^^^^^^^^^^^^^^^^^^^^^
12201220 |
12211221 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1222- = help: `#[link_section]` can be applied to statics and functions
1222+ = help: `#[link_section]` can be applied to functions and statics
12231223
12241224warning: `#[link_section]` attribute cannot be used on modules
12251225 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:665:17
@@ -1228,7 +1228,7 @@ LL | mod inner { #![link_section="1800"] }
12281228 | ^^^^^^^^^^^^^^^^^^^^^^^
12291229 |
12301230 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1231- = help: `#[link_section]` can be applied to statics and functions
1231+ = help: `#[link_section]` can be applied to functions and statics
12321232
12331233warning: `#[link_section]` attribute cannot be used on structs
12341234 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:673:5
@@ -1237,7 +1237,7 @@ LL | #[link_section = "1800"] struct S;
12371237 | ^^^^^^^^^^^^^^^^^^^^^^^^
12381238 |
12391239 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1240- = help: `#[link_section]` can be applied to statics and functions
1240+ = help: `#[link_section]` can be applied to functions and statics
12411241
12421242warning: `#[link_section]` attribute cannot be used on type aliases
12431243 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:679:5
@@ -1246,7 +1246,7 @@ LL | #[link_section = "1800"] type T = S;
12461246 | ^^^^^^^^^^^^^^^^^^^^^^^^
12471247 |
12481248 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1249- = help: `#[link_section]` can be applied to statics and functions
1249+ = help: `#[link_section]` can be applied to functions and statics
12501250
12511251warning: `#[link_section]` attribute cannot be used on inherent impl blocks
12521252 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:685:5
@@ -1255,7 +1255,7 @@ LL | #[link_section = "1800"] impl S { }
12551255 | ^^^^^^^^^^^^^^^^^^^^^^^^
12561256 |
12571257 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1258- = help: `#[link_section]` can be applied to statics and functions
1258+ = help: `#[link_section]` can be applied to functions and statics
12591259
12601260warning: `#[must_use]` attribute cannot be used on modules
12611261 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:746:1
@@ -1555,7 +1555,7 @@ LL | #![link_section = "1800"]
15551555 | ^^^^^^^^^^^^^^^^^^^^^^^^^
15561556 |
15571557 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1558- = help: `#[link_section]` can be applied to statics and functions
1558+ = help: `#[link_section]` can be applied to functions and statics
15591559
15601560warning: `#[must_use]` attribute cannot be used on crates
15611561 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:84:1
0 commit comments