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/pattern.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/pattern.txt b/crates/ra_hir/src/ty/tests/data/pattern.txt
new file mode 100644
index 000000000..cca521833
--- /dev/null
+++ b/crates/ra_hir/src/ty/tests/data/pattern.txt
@@ -0,0 +1,15 @@
1[9; 10) 'x': &i32
2[18; 98) '{ ...o"); }': ()
3[28; 29) 'y': &i32
4[32; 33) 'x': &i32
5[43; 45) '&z': &i32
6[44; 45) 'z': i32
7[48; 49) 'x': &i32
8[59; 60) 'a': i32
9[63; 64) 'z': i32
10[74; 80) '(c, d)': (i32, &str)
11[75; 76) 'c': i32
12[78; 79) 'd': &str
13[83; 95) '(1, "hello")': (i32, &str)
14[84; 85) '1': i32
15[87; 94) '"hello"': &str