mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 20:20:59 +03:00
Rollup merge of #152778 - mu001999-contrib:fix/final-method, r=fmease
Update tracking issue number for final_associated_functions From https://github.com/rust-lang/rust/pull/151783#discussion_r2816929026
This commit is contained in:
@@ -489,7 +489,7 @@ pub fn internal(&self, feature: Symbol) -> bool {
|
||||
/// 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
|
||||
|
||||
@@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental
|
||||
LL | final fn bar() {}
|
||||
| ^^^^^
|
||||
|
|
||||
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
|
||||
= note: see issue #131179 <https://github.com/rust-lang/rust/issues/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
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental
|
||||
LL | final fn foo() {}
|
||||
| ^^^^^
|
||||
|
|
||||
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
|
||||
= note: see issue #131179 <https://github.com/rust-lang/rust/issues/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
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental
|
||||
LL | final fn foo() {}
|
||||
| ^^^^^
|
||||
|
|
||||
= note: see issue #1 <https://github.com/rust-lang/rust/issues/1> for more information
|
||||
= note: see issue #131179 <https://github.com/rust-lang/rust/issues/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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user