]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/bounds-lifetime-where.rs
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / bounds-lifetime-where.rs
1 type A where 'a: 'b + 'c = u8; // OK
2 type A where 'a: 'b, = u8; // OK
3 type A where 'a: = u8; // OK
4 type A where 'a:, = u8; // OK
5 type A where 'a: 'b + 'c = u8; // OK
6 type A where = u8; // OK
7 type A where 'a: 'b + = u8; // OK
8 type A where , = u8; //~ ERROR expected one of `;`, `=`, lifetime, or type, found `,`
9
10 fn main() {}