diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index b810cd0db8cd1..81de49b9967af 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -493,7 +493,7 @@ declare_features! ( /// Allows the use of `#[ffi_pure]` on foreign functions. (unstable, ffi_pure, "1.45.0", Some(58329)), /// Allows marking trait functions as `final` to prevent overriding impls - (unstable, final_associated_functions, "CURRENT_RUSTC_VERSION", Some(1)), + (unstable, final_associated_functions, "CURRENT_RUSTC_VERSION", Some(131179)), /// Controlling the behavior of fmt::Debug (unstable, fmt_debug, "1.82.0", Some(129709)), /// Allows using `#[align(...)]` on function items diff --git a/tests/ui/feature-gates/feature-gate-final-associated-functions.stderr b/tests/ui/feature-gates/feature-gate-final-associated-functions.stderr index b3731acd1d905..cd21aa1c0bf36 100644 --- a/tests/ui/feature-gates/feature-gate-final-associated-functions.stderr +++ b/tests/ui/feature-gates/feature-gate-final-associated-functions.stderr @@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental LL | final fn bar() {} | ^^^^^ | - = note: see issue #1 for more information + = note: see issue #131179 for more information = help: add `#![feature(final_associated_functions)]` to the crate attributes to enable = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date diff --git a/tests/ui/traits/final/final-kw.gated.stderr b/tests/ui/traits/final/final-kw.gated.stderr index a7967ebf08e2a..62a39d7ca2028 100644 --- a/tests/ui/traits/final/final-kw.gated.stderr +++ b/tests/ui/traits/final/final-kw.gated.stderr @@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental LL | final fn foo() {} | ^^^^^ | - = note: see issue #1 for more information + = note: see issue #131179 for more information = help: add `#![feature(final_associated_functions)]` to the crate attributes to enable = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date diff --git a/tests/ui/traits/final/final-kw.ungated.stderr b/tests/ui/traits/final/final-kw.ungated.stderr index a7967ebf08e2a..62a39d7ca2028 100644 --- a/tests/ui/traits/final/final-kw.ungated.stderr +++ b/tests/ui/traits/final/final-kw.ungated.stderr @@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental LL | final fn foo() {} | ^^^^^ | - = note: see issue #1 for more information + = note: see issue #131179 for more information = help: add `#![feature(final_associated_functions)]` to the crate attributes to enable = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date