]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-2632-const-trait-impl/const_derives/derive-const-gate.stderr
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / rfc-2632-const-trait-impl / const_derives / derive-const-gate.stderr
1 error[E0658]: use of unstable library feature 'derive_const'
2   --> $DIR/derive-const-gate.rs:1:3
3    |
4 LL | #[derive_const(Default)]
5    |   ^^^^^^^^^^^^
6    |
7    = help: add `#![feature(derive_const)]` 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`.