mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
177af47104
This attribute allows to mark default body of a trait function as unstable. This means that implementing the trait without implementing the function will require enabling unstable feature. This is useful in conjunction with `#[rustc_must_implement_one_of]`, we may want to relax requirements for a trait, for example allowing implementing either of `PartialEq::{eq, ne}`, but do so in a safe way -- making implementation of only `PartialEq::ne` unstable. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |