]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-on-unimplemented.stderr
Auto merge of #52994 - varkor:trim_direction, r=alexcrichton
[rust.git] / src / test / ui / feature-gates / feature-gate-on-unimplemented.stderr
1 error[E0658]: the `#[rustc_on_unimplemented]` attribute is an experimental feature (see issue #29628)
2   --> $DIR/feature-gate-on-unimplemented.rs:14:1
3    |
4 LL | #[rustc_on_unimplemented = "test error `{Self}` with `{Bar}`"]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(on_unimplemented)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.