Skip to content

Commit 8a2c6ea

Browse files
authored
Rollup merge of #152778 - mu001999-contrib:fix/final-method, r=fmease
Update tracking issue number for final_associated_functions From #151783 (comment)
2 parents c7db84b + d2580fd commit 8a2c6ea

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

compiler/rustc_feature/src/unstable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ declare_features! (
489489
/// Allows the use of `#[ffi_pure]` on foreign functions.
490490
(unstable, ffi_pure, "1.45.0", Some(58329)),
491491
/// Allows marking trait functions as `final` to prevent overriding impls
492-
(unstable, final_associated_functions, "CURRENT_RUSTC_VERSION", Some(1)),
492+
(unstable, final_associated_functions, "CURRENT_RUSTC_VERSION", Some(131179)),
493493
/// Controlling the behavior of fmt::Debug
494494
(unstable, fmt_debug, "1.82.0", Some(129709)),
495495
/// Allows using `#[align(...)]` on function items

tests/ui/feature-gates/feature-gate-final-associated-functions.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental
44
LL | final fn bar() {}
55
| ^^^^^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #131179 <https://github.com/rust-lang/rust/issues/131179> for more information
88
= help: add `#![feature(final_associated_functions)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

tests/ui/traits/final/final-kw.gated.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental
44
LL | final fn foo() {}
55
| ^^^^^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #131179 <https://github.com/rust-lang/rust/issues/131179> for more information
88
= help: add `#![feature(final_associated_functions)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

tests/ui/traits/final/final-kw.ungated.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental
44
LL | final fn foo() {}
55
| ^^^^^
66
|
7-
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
7+
= note: see issue #131179 <https://github.com/rust-lang/rust/issues/131179> for more information
88
= help: add `#![feature(final_associated_functions)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

0 commit comments

Comments
 (0)