about summary refs log tree commit diff
path: root/tests/ui/parser/bounds-lifetime-where.rs
blob: 730be7139bec870b39d63119d1e7b2f10d896080 (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() {}