aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0020_type_param_bounds.rs
blob: 7128989789a7d78ddd250bd87ad4a57de06533ff (plain)
1
2
3
4
5
6
7
8
9
10
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:,>;
struct K<'a: 'd, 'd: 'a + 'b, T: 'a + 'd + Clone>;