aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-01-13 20:00:31 +0000
committerFlorian Diebold <[email protected]>2019-01-19 15:02:06 +0000
commitcc4562ab6ecfced33f5d7a2e428c8caca8f9c3f1 (patch)
tree8f97c863d3fad975312892024587ac02cd483626 /crates/ra_hir/src/ty/tests
parentfa7f9d696f5863dbf28b3d0ef14c1bc9143b2d21 (diff)
Collect generic args in type paths
E.g. `let x: A<X>` is handled correctly.
Diffstat (limited to 'crates/ra_hir/src/ty/tests')
-rw-r--r--crates/ra_hir/src/ty/tests/data/struct_generics.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/struct_generics.txt b/crates/ra_hir/src/ty/tests/data/struct_generics.txt
index 88cd2b409..c6be2a5f5 100644
--- a/crates/ra_hir/src/ty/tests/data/struct_generics.txt
+++ b/crates/ra_hir/src/ty/tests/data/struct_generics.txt
@@ -1,8 +1,8 @@
1[36; 38) 'a1': A<[unknown]> 1[36; 38) 'a1': A<u32>
2[48; 49) 'i': i32 2[48; 49) 'i': i32
3[56; 147) '{ ...3.x; }': () 3[56; 147) '{ ...3.x; }': ()
4[62; 64) 'a1': A<[unknown]> 4[62; 64) 'a1': A<u32>
5[62; 66) 'a1.x': [unknown] 5[62; 66) 'a1.x': u32
6[76; 78) 'a2': A<i32> 6[76; 78) 'a2': A<i32>
7[81; 91) 'A { x: i }': A<i32> 7[81; 91) 'A { x: i }': A<i32>
8[88; 89) 'i': i32 8[88; 89) 'i': i32