rust/compiler/rustc_feature/src
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
..
accepted.rs Stabilize let_chains 2022-07-16 20:17:58 -03:00
active.rs Stabilize let_chains 2022-07-16 20:17:58 -03:00
builtin_attrs.rs Implement #[rustc_default_body_unstable] 2022-07-26 15:38:03 +04:00
lib.rs Finish bumping stage0 2022-05-27 07:36:17 -04:00
removed.rs add array tests, cleanup, tidy, and bless 2022-07-13 18:31:29 -04:00
tests.rs tidy: Re-enable check for inline unit tests 2020-12-12 19:18:44 +03:00