Skip to content

Commit f08fc67

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

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

compiler/rustc_feature/src/unstable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ declare_features! (
493493
/// Allows the use of `#[ffi_pure]` on foreign functions.
494494
(unstable, ffi_pure, "1.45.0", Some(58329)),
495495
/// Allows marking trait functions as `final` to prevent overriding impls
496-
(unstable, final_associated_functions, "CURRENT_RUSTC_VERSION", Some(1)),
496+
(unstable, final_associated_functions, "CURRENT_RUSTC_VERSION", Some(131179)),
497497
/// Controlling the behavior of fmt::Debug
498498
(unstable, fmt_debug, "1.82.0", Some(129709)),
499499
/// 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)