]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/item-free-type-bounds-syntactic-pass.rs
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
[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 }