rust/tests/ui/rfcs/rfc-2632-const-trait-impl/const_derives/derive-const-gate.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
344 B
Plaintext
Raw Normal View History

2022-09-20 11:55:07 +00:00
error[E0658]: use of unstable library feature 'derive_const'
--> $DIR/derive-const-gate.rs:1:3
|
LL | #[derive_const(Default)]
| ^^^^^^^^^^^^
|
= help: add `#![feature(derive_const)]` to the crate attributes to enable
error: aborting due to 1 previous error
2022-09-20 11:55:07 +00:00
For more information about this error, try `rustc --explain E0658`.