aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/ty/tests')
-rw-r--r--crates/ra_hir/src/ty/tests/data/adt_pattern.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/adt_pattern.txt b/crates/ra_hir/src/ty/tests/data/adt_pattern.txt
new file mode 100644
index 000000000..d23b865a0
--- /dev/null
+++ b/crates/ra_hir/src/ty/tests/data/adt_pattern.txt
@@ -0,0 +1,12 @@
1[49; 192) '{ ... }; }': ()
2[59; 60) 'e': E
3[63; 76) 'E::A { x: 3 }': E
4[73; 74) '3': usize
5[82; 124) 'if let... }': [unknown]
6[105; 106) 'e': E
7[107; 124) '{ ... }': [unknown]
8[117; 118) 'x': [unknown]
9[130; 189) 'match ... }': [unknown]
10[136; 137) 'e': E
11[162; 163) 'x': [unknown]
12[181; 182) '1': i32