aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs
diff options
context:
space:
mode:
authorEvgenii P <[email protected]>2019-08-11 10:56:05 +0100
committerEvgenii P <[email protected]>2019-08-11 10:56:05 +0100
commitf1e62501c3de7932396d29c89588ff296bbcc50d (patch)
treec1039639e96fecbc20853d7b358da9bb21a57982 /crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs
parente3f8e6023d66ceb37040833bf317d77019bb10f1 (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.rs1
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 @@
1type A = for<'a> fn() -> (); 1type A = for<'a> fn() -> ();
2fn foo<T>(_t: &T) where for<'a> &'a T: Iterator {} 2fn foo<T>(_t: &T) where for<'a> &'a T: Iterator {}
3fn bar<T>(_t: &T) where for<'a> &'a mut T: Iterator {} 3fn bar<T>(_t: &T) where for<'a> &'a mut T: Iterator {}
4fn baz<T>(_t: &T) where for<'a> <&'a T as Baz>::Foo: Iterator {}