]> git.lizzy.rs Git - rust.git/blob - crates/parser/test_data/parser/ok/0020_type_param_bounds.rs
Merge #11088
[rust.git] / crates / parser / test_data / parser / ok / 0020_type_param_bounds.rs
1 struct A<T>;
2 struct B<T:>;
3 struct C<T: 'a>;
4 struct D<T: 'a + >;
5 struct E<T: 'a + 'd >;
6 struct F<T: 'a + 'd + Clone>;
7 struct G<T: Clone + Copy>;
8 struct H<T: ::Foo + self::Bar + 'a>;
9 struct I<T:, U:,>;
10 struct K<'a: 'd, 'd: 'a + 'b, T: 'a + 'd + Clone>;