diff options
Diffstat (limited to 'src/test/ui')
| -rw-r--r-- | src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/malformed/malformed-regressions.stderr | 10 | ||||
| -rw-r--r-- | src/test/ui/proc-macro/attribute.stderr | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr index 485ff11eea7..71e8f11ff07 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr @@ -6,7 +6,7 @@ LL | #[inline = "2100"] fn f() { } | = note: #[warn(ill_formed_attribute_input)] on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57321 <https://github.com/rust-lang/rust/issues/57321> + = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> error[E0518]: attribute should be applied to function or closure --> $DIR/issue-43106-gating-of-inline.rs:11:1 diff --git a/src/test/ui/malformed/malformed-regressions.stderr b/src/test/ui/malformed/malformed-regressions.stderr index f8dbfc04f10..a3b2bda07f6 100644 --- a/src/test/ui/malformed/malformed-regressions.stderr +++ b/src/test/ui/malformed/malformed-regressions.stderr @@ -6,7 +6,7 @@ LL | #[doc] //~ WARN attribute must be of the form | = note: #[warn(ill_formed_attribute_input)] on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57321 <https://github.com/rust-lang/rust/issues/57321> + = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> warning: attribute must be of the form `#[ignore]` or `#[ignore = "reason"]` --> $DIR/malformed-regressions.rs:4:1 @@ -15,7 +15,7 @@ LL | #[ignore()] //~ WARN attribute must be of the form | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57321 <https://github.com/rust-lang/rust/issues/57321> + = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> warning: attribute must be of the form `#[inline]` or `#[inline(always|never)]` --> $DIR/malformed-regressions.rs:5:1 @@ -24,7 +24,7 @@ LL | #[inline = ""] //~ WARN attribute must be of the form | ^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57321 <https://github.com/rust-lang/rust/issues/57321> + = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]` @@ -34,7 +34,7 @@ LL | #[link] //~ WARN attribute must be of the form | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57321 <https://github.com/rust-lang/rust/issues/57321> + = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]` @@ -44,5 +44,5 @@ LL | #[link = ""] //~ WARN attribute must be of the form | ^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57321 <https://github.com/rust-lang/rust/issues/57321> + = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> diff --git a/src/test/ui/proc-macro/attribute.stderr b/src/test/ui/proc-macro/attribute.stderr index c5dc3b8284b..231eb1f1068 100644 --- a/src/test/ui/proc-macro/attribute.stderr +++ b/src/test/ui/proc-macro/attribute.stderr @@ -34,13 +34,13 @@ error: attribute must have either one or two arguments LL | #[proc_macro_derive(l, attributes(m), n)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error: attribute must be of the form `#[proc_macro_derive(TraitName, attributes(name1, name2, ...))]` +error: attribute must be of the form `#[proc_macro_derive(TraitName, /*opt*/ attributes(name1, name2, ...))]` --> $DIR/attribute.rs:8:1 | LL | #[proc_macro_derive] | ^^^^^^^^^^^^^^^^^^^^ -error: attribute must be of the form `#[proc_macro_derive(TraitName, attributes(name1, name2, ...))]` +error: attribute must be of the form `#[proc_macro_derive(TraitName, /*opt*/ attributes(name1, name2, ...))]` --> $DIR/attribute.rs:14:1 | LL | #[proc_macro_derive = "foo"] |
