aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rs')
-rw-r--r--crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rs12
1 files changed, 9 insertions, 3 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rs b/crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rs
index f34ac7fc5..0e9f8ccb4 100644
--- a/crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rs
+++ b/crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rs
@@ -1,3 +1,9 @@
1type A = for<'a> &'a u32; 1type ForRef = for<'a> &'a u32;
2type B = for<'a> (&'a u32,); 2type ForTup = for<'a> (&'a u32,);
3type B = for<'a> [u32]; 3type ForSlice = for<'a> [u32];
4type ForForFn = for<'a> for<'b> fn(&'a i32, &'b i32);
5fn for_for_for<T>()
6where
7 for<'a> for<'b> for<'c> fn(&'a T, &'b T, &'c T): Copy,
8{
9}