diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0020_type_param_bounds.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0020_type_param_bounds.rs b/src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0020_type_param_bounds.rs new file mode 100644 index 000000000..712898978 --- /dev/null +++ b/src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0020_type_param_bounds.rs @@ -0,0 +1,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>;
\ No newline at end of file |