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:
commit
8a2c6ea409
4 changed files with 4 additions and 4 deletions
|
|
@ -489,7 +489,7 @@ declare_features! (
|
||||||
/// Allows the use of `#[ffi_pure]` on foreign functions.
|
/// Allows the use of `#[ffi_pure]` on foreign functions.
|
||||||
(unstable, ffi_pure, "1.45.0", Some(58329)),
|
(unstable, ffi_pure, "1.45.0", Some(58329)),
|
||||||
/// Allows marking trait functions as `final` to prevent overriding impls
|
/// 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
|
/// Controlling the behavior of fmt::Debug
|
||||||
(unstable, fmt_debug, "1.82.0", Some(129709)),
|
(unstable, fmt_debug, "1.82.0", Some(129709)),
|
||||||
/// Allows using `#[align(...)]` on function items
|
/// Allows using `#[align(...)]` on function items
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ error[E0658]: `final` on trait functions is experimental
|
||||||
LL | final fn bar() {}
|
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
|
= 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
|
= 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() {}
|
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
|
= 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
|
= 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() {}
|
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
|
= 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
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue