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

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

6 lines
139 B
Rust
Raw Normal View History

2022-09-20 06:55:07 -05:00
#[derive_const(Default)] //~ ERROR use of unstable library feature
2023-04-16 06:12:37 -05:00
//~^ ERROR not marked with `#[const_trait]`
2022-09-20 06:55:07 -05:00
pub struct S;
fn main() {}