rust/tests/ui/const-generics/unknown_adt.rs

5 lines
91 B
Rust

fn main() {
let _: UnknownStruct<7>;
//~^ ERROR cannot find type `UnknownStruct`
}