aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests/data
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-09 16:14:21 +0000
committerAleksey Kladov <[email protected]>2019-01-09 16:14:21 +0000
commite8815b614e4a02f9270245f2d5c557999b58239d (patch)
tree790d941add3eb804b3b4bfbc570a4e8287127273 /crates/ra_hir/src/ty/tests/data
parentecfa68a3f50c2e305d2fcd7be09cde729147e023 (diff)
nicer trailing comma handling in types
Diffstat (limited to 'crates/ra_hir/src/ty/tests/data')
-rw-r--r--crates/ra_hir/src/ty/tests/data/backwards.txt2
-rw-r--r--crates/ra_hir/src/ty/tests/data/binary_op.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/backwards.txt b/crates/ra_hir/src/ty/tests/data/backwards.txt
index b6807fb2a..b8593cfd1 100644
--- a/crates/ra_hir/src/ty/tests/data/backwards.txt
+++ b/crates/ra_hir/src/ty/tests/data/backwards.txt
@@ -4,7 +4,7 @@
4[88; 89) 'a': u32 4[88; 89) 'a': u32
5[92; 108) 'unknow...nction': [unknown] 5[92; 108) 'unknow...nction': [unknown]
6[92; 110) 'unknow...tion()': u32 6[92; 110) 'unknow...tion()': u32
7[116; 125) 'takes_u32': fn(u32,) -> () 7[116; 125) 'takes_u32': fn(u32) -> ()
8[116; 128) 'takes_u32(a)': () 8[116; 128) 'takes_u32(a)': ()
9[126; 127) 'a': u32 9[126; 127) 'a': u32
10[138; 139) 'b': i32 10[138; 139) 'b': i32
diff --git a/crates/ra_hir/src/ty/tests/data/binary_op.txt b/crates/ra_hir/src/ty/tests/data/binary_op.txt
index 0fb9dc097..8a515ac5e 100644
--- a/crates/ra_hir/src/ty/tests/data/binary_op.txt
+++ b/crates/ra_hir/src/ty/tests/data/binary_op.txt
@@ -22,7 +22,7 @@
22[166; 188) 'minus_...ONST_2': bool 22[166; 188) 'minus_...ONST_2': bool
23[181; 188) 'CONST_2': isize 23[181; 188) 'CONST_2': isize
24[198; 199) 'c': i32 24[198; 199) 'c': i32
25[202; 203) 'f': fn(bool,) -> i32 25[202; 203) 'f': fn(bool) -> i32
26[202; 211) 'f(z || y)': i32 26[202; 211) 'f(z || y)': i32
27[202; 215) 'f(z || y) + 5': i32 27[202; 215) 'f(z || y) + 5': i32
28[204; 205) 'z': bool 28[204; 205) 'z': bool