]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/empty-where-clause.rs
Rollup merge of #106244 - atouchet:readme3, r=workingjubilee
[rust.git] / tests / ui / proc-macro / empty-where-clause.rs
1 // aux-build:test-macros.rs
2
3 extern crate test_macros;
4 use test_macros::recollect_attr;
5
6 #[recollect_attr]
7 struct FieldStruct where {
8     field: MissingType1 //~ ERROR cannot find
9 }
10
11 #[recollect_attr]
12 struct TupleStruct(MissingType2) where; //~ ERROR cannot find
13
14 enum MyEnum where {
15     Variant(MissingType3) //~ ERROR cannot find
16 }
17
18 fn main() {}