]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/item-free-type-bounds-syntactic-pass.rs
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
[rust.git] / src / test / ui / parser / item-free-type-bounds-syntactic-pass.rs
1 // check-pass
2
3 fn main() {}
4
5 #[cfg(FALSE)]
6 fn syntax() {
7     type A: Ord;
8     type B: Ord = u8;
9     type C: Ord where 'static: 'static = u8;
10     type D<_T>: Ord;
11     type E<_T>: Ord = u8;
12     type F<_T>: Ord where 'static: 'static = u8;
13 }