rustc/tests/ui/rfcs/rfc-2632-const-trait-impl/const_derives/derive-const-gate.stderr
2024-06-19 10:24:51 +02:00

13 lines
437 B
Plaintext

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
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0658`.