2017-01-18 08:41:57 -06:00
|
|
|
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
|
2017-01-24 13:55:45 -06:00
|
|
|
type A where 'a: 'b + = u8; // OK
|
2021-10-19 17:45:48 -05:00
|
|
|
type A where , = u8; //~ ERROR expected one of `;`, `=`, `where`, lifetime, or type, found `,`
|
2017-01-18 08:41:57 -06:00
|
|
|
|
|
|
|
fn main() {}
|