rust/compiler/rustc_passes
Maybe Waffle 177af47104 Implement #[rustc_default_body_unstable]
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.
2022-07-26 15:38:03 +04:00
..
src Implement #[rustc_default_body_unstable] 2022-07-26 15:38:03 +04:00
Cargo.toml passes: migrate half of check_attr 2022-07-15 16:13:49 +01:00