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.

5 lines
95 B
Rust
Raw Normal View History

2022-09-20 06:55:07 -05:00
#[derive_const(Default)] //~ ERROR use of unstable library feature
pub struct S;
fn main() {}