about summary refs log tree commit diff
path: root/src/test/ui/const-generics/unknown_adt.rs
blob: 977f90aad116d1a12c28047198a846d2578398ce (plain)
1
2
3
4
5
6
7
8
9
// revisions: full min

#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]

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