summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/default-method/rustc_must_implement_one_of_gated.stderr
blob: cb7eb1567c815a3214b2a79f5774f660e11c2cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0658]: the `#[rustc_must_implement_one_of]` attribute is used to change minimal complete definition of a trait, it's currently in experimental form and should be changed before being exposed outside of the std
  --> $DIR/rustc_must_implement_one_of_gated.rs:1:1
   |
LL | #[rustc_must_implement_one_of(eq, neq)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0658`.