]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/item-free-type-bounds-syntactic-pass.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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 }