@@ -1236,7 +1236,7 @@ LL | #[link_section = "1800"]
12361236 | ^^^^^^^^^^^^^^^^^^^^^^^^
12371237 |
12381238 = 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
12401240
12411241warning: `#[link_section]` attribute cannot be used on modules
12421242 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:683:17
@@ -1245,7 +1245,7 @@ LL | mod inner { #![link_section="1800"] }
12451245 | ^^^^^^^^^^^^^^^^^^^^^^^
12461246 |
12471247 = 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
12491249
12501250warning: `#[link_section]` attribute cannot be used on structs
12511251 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:691:5
@@ -1254,7 +1254,7 @@ LL | #[link_section = "1800"] struct S;
12541254 | ^^^^^^^^^^^^^^^^^^^^^^^^
12551255 |
12561256 = 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
12581258
12591259warning: `#[link_section]` attribute cannot be used on type aliases
12601260 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:697:5
@@ -1263,7 +1263,7 @@ LL | #[link_section = "1800"] type T = S;
12631263 | ^^^^^^^^^^^^^^^^^^^^^^^^
12641264 |
12651265 = 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
12671267
12681268warning: `#[link_section]` attribute cannot be used on inherent impl blocks
12691269 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:703:5
@@ -1272,7 +1272,7 @@ LL | #[link_section = "1800"] impl S { }
12721272 | ^^^^^^^^^^^^^^^^^^^^^^^^
12731273 |
12741274 = 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
12761276
12771277warning: `#[must_use]` attribute cannot be used on modules
12781278 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:764:1
@@ -1572,7 +1572,7 @@ LL | #![link_section = "1800"]
15721572 | ^^^^^^^^^^^^^^^^^^^^^^^^^
15731573 |
15741574 = 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
15761576
15771577warning: `#[must_use]` attribute cannot be used on crates
15781578 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:84:1
0 commit comments