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

5 lines
91 B
Rust
Raw Normal View History

2020-07-02 15:06:14 -05:00
fn main() {
let _: UnknownStruct<7>;
//~^ ERROR cannot find type `UnknownStruct`
}