rust/src/test/ui/const-generics/unknown_adt.rs
2020-08-12 08:30:17 +00:00

11 lines
254 B
Rust

// revisions: full min
#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]
#![cfg_attr(min, feature(min_const_generics))]
fn main() {
let _: UnknownStruct<7>;
//~^ ERROR cannot find type `UnknownStruct`
}