rust/tests/ui/parser/trait-item-with-defaultness-pass.rs

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

14 lines
198 B
Rust
Raw Normal View History

// check-pass
fn main() {}
#[cfg(FALSE)]
trait X {
default const A: u8;
default const B: u8 = 0;
default type D;
default type C: Ord;
default fn f1();
default fn f2() {}
}