]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/empty-where-clause.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / 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() {}