]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/bounds-lifetime-where.rs
Rollup merge of #94312 - pierwill:fix-94311-lattice-docs, r=jackh726
[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 `;`, `=`, `where`, lifetime, or type, found `,`
9
10 fn main() {}