]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/unknown_adt.rs
Rollup merge of #79399 - pickfire:patch-3, r=JohnTitor
[rust.git] / src / test / ui / const-generics / unknown_adt.rs
1 // revisions: full min
2
3 #![cfg_attr(full, feature(const_generics))]
4 #![cfg_attr(full, allow(incomplete_features))]
5
6 fn main() {
7     let _: UnknownStruct<7>;
8     //~^ ERROR cannot find type `UnknownStruct`
9 }