diff options
author | Aleksey Kladov <[email protected]> | 2018-01-30 19:53:19 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-30 19:53:19 +0000 |
commit | 197a2e6fefd45627920cfb9bbca24b446e5a7c89 (patch) | |
tree | 04fbad2a682433c6b23ec0c09cccd0216a89e21f /tests/data/parser/ok/0020_type_param_bounds.rs | |
parent | 94caa9d3a2c645df5c0f2d332bc001831119484d (diff) |
G: type_parameter_list
Diffstat (limited to 'tests/data/parser/ok/0020_type_param_bounds.rs')
-rw-r--r-- | tests/data/parser/ok/0020_type_param_bounds.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/data/parser/ok/0020_type_param_bounds.rs b/tests/data/parser/ok/0020_type_param_bounds.rs new file mode 100644 index 000000000..a1b9f00a4 --- /dev/null +++ b/tests/data/parser/ok/0020_type_param_bounds.rs | |||
@@ -0,0 +1,9 @@ | |||
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:,>; | ||