summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/bounds-lifetime-where.rs
blob: 7ff75233d3a8e019c3afcb3e3bffac7c0250fbe9 (plain)
1
2
3
4
5
6
7
8
9
10
type A where 'a: 'b + 'c = u8; // OK
type A where 'a: 'b, = u8; // OK
type A where 'a: = u8; // OK
type A where 'a:, = u8; // OK
type A where 'a: 'b + 'c = u8; // OK
type A where = u8; // OK
type A where 'a: 'b + = u8; // OK
type A where , = u8; //~ ERROR expected one of `;`, `=`, `where`, lifetime, or type, found `,`

fn main() {}