diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs new file mode 100644 index 000000000..7cde5c532 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs | |||
@@ -0,0 +1,3 @@ | |||
1 | type A = for<'a> fn() -> (); | ||
2 | fn foo<T>(_t: &T) where for<'a> &'a T: Iterator {} | ||
3 | fn bar<T>(_t: &T) where for<'a> &'a mut T: Iterator {} | ||