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
342 B
Plaintext
Raw Normal View History

2022-09-20 06:55:07 -05: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
2023-08-06 08:20:55 -05:00
error: aborting due to previous error
2022-09-20 06:55:07 -05:00
For more information about this error, try `rustc --explain E0658`.