aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests/data/struct.txt
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-01-06 22:01:33 +0000
committerFlorian Diebold <[email protected]>2019-01-06 23:05:19 +0000
commitcf49a11263c4d48720250db0c448b97dbec3d8b9 (patch)
tree7636e9919e5390b7b6d01d92aaf5336a3fbe590b /crates/ra_hir/src/ty/tests/data/struct.txt
parent6210e82041849bad6129331b9e45ac0bae6fe569 (diff)
Sort ranges in type inference tests
Also rename the files to remove the numbers (they don't serve a purpose now that there are only the data files).
Diffstat (limited to 'crates/ra_hir/src/ty/tests/data/struct.txt')
-rw-r--r--crates/ra_hir/src/ty/tests/data/struct.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/struct.txt b/crates/ra_hir/src/ty/tests/data/struct.txt
new file mode 100644
index 000000000..7b324c82f
--- /dev/null
+++ b/crates/ra_hir/src/ty/tests/data/struct.txt
@@ -0,0 +1,16 @@
1[72; 154) '{ ...a.c; }': ()
2[82; 83) 'c': [unknown]
3[86; 87) 'C': [unknown]
4[86; 90) 'C(1)': [unknown]
5[88; 89) '1': [unknown]
6[96; 97) 'B': [unknown]
7[107; 108) 'a': A
8[114; 133) 'A { b:...C(1) }': A
9[121; 122) 'B': B
10[127; 128) 'C': [unknown]
11[127; 131) 'C(1)': C
12[129; 130) '1': [unknown]
13[139; 140) 'a': A
14[139; 142) 'a.b': B
15[148; 149) 'a': A
16[148; 151) 'a.c': C