]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-derive_default_enum.stderr
Rollup merge of #93273 - bjorn3:rustbuild_improvements, r=Mark-Simulacrum
[rust.git] / src / test / ui / feature-gates / feature-gate-derive_default_enum.stderr
1 error[E0658]: deriving `Default` on enums is experimental
2   --> $DIR/feature-gate-derive_default_enum.rs:1:10
3    |
4 LL | #[derive(Default)]
5    |          ^^^^^^^
6    |
7    = note: see issue #86985 <https://github.com/rust-lang/rust/issues/86985> for more information
8    = help: add `#![feature(derive_default_enum)]` to the crate attributes to enable
9    = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0658`.