diff options
author | Evgenii P <[email protected]> | 2019-08-11 10:56:05 +0100 |
---|---|---|
committer | Evgenii P <[email protected]> | 2019-08-11 10:56:05 +0100 |
commit | f1e62501c3de7932396d29c89588ff296bbcc50d (patch) | |
tree | c1039639e96fecbc20853d7b358da9bb21a57982 /crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs | |
parent | e3f8e6023d66ceb37040833bf317d77019bb10f1 (diff) |
Fix for<'lifetime> for types specified by path
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 | 1 |
1 files changed, 1 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 index 7cde5c532..d6774d438 100644 --- 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 | |||
@@ -1,3 +1,4 @@ | |||
1 | type A = for<'a> fn() -> (); | 1 | type A = for<'a> fn() -> (); |
2 | fn foo<T>(_t: &T) where for<'a> &'a T: Iterator {} | 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 {} | 3 | fn bar<T>(_t: &T) where for<'a> &'a mut T: Iterator {} |
4 | fn baz<T>(_t: &T) where for<'a> <&'a T as Baz>::Foo: Iterator {} | ||