aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/ok/0020_type_param_bounds.rs
blob: a1b9f00a477347ca70655afd8f8f3269aeba2609 (plain)
1
2
3
4
5
6
7
8
9
struct A<T>;
struct B<T:>;
struct C<T: 'a>;
struct D<T: 'a + >;
struct E<T: 'a + 'd >;
struct F<T: 'a + 'd + Clone>;
struct G<T: Clone + Copy>;
struct H<T: ::Foo + self::Bar + 'a>;
struct I<T:, U:,>;