aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests/data/backwards.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/backwards.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/backwards.txt')
-rw-r--r--crates/ra_hir/src/ty/tests/data/backwards.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/backwards.txt b/crates/ra_hir/src/ty/tests/data/backwards.txt
new file mode 100644
index 000000000..b6807fb2a
--- /dev/null
+++ b/crates/ra_hir/src/ty/tests/data/backwards.txt
@@ -0,0 +1,20 @@
1[14; 15) 'x': u32
2[22; 24) '{}': ()
3[78; 231) '{ ...t &c }': &mut &f64
4[88; 89) 'a': u32
5[92; 108) 'unknow...nction': [unknown]
6[92; 110) 'unknow...tion()': u32
7[116; 125) 'takes_u32': fn(u32,) -> ()
8[116; 128) 'takes_u32(a)': ()
9[126; 127) 'a': u32
10[138; 139) 'b': i32
11[142; 158) 'unknow...nction': [unknown]
12[142; 160) 'unknow...tion()': i32
13[166; 184) 'S { i3...d: b }': S
14[181; 182) 'b': i32
15[194; 195) 'c': f64
16[198; 214) 'unknow...nction': [unknown]
17[198; 216) 'unknow...tion()': f64
18[222; 229) '&mut &c': &mut &f64
19[227; 229) '&c': &f64
20[228; 229) 'c': f64