rust/compiler/rustc_ast_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 Update itertools 2022-03-04 11:54:28 -06:00