summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/empty-where-clause.rs
blob: 719555c092a7878c7c3a47c1ff2c7e96afcbcda9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// aux-build:test-macros.rs

extern crate test_macros;
use test_macros::recollect_attr;

#[recollect_attr]
struct FieldStruct where {
    field: MissingType1 //~ ERROR cannot find
}

#[recollect_attr]
struct TupleStruct(MissingType2) where; //~ ERROR cannot find

enum MyEnum where {
    Variant(MissingType3) //~ ERROR cannot find
}

fn main() {}