diff options
author | Florian Diebold <[email protected]> | 2018-12-29 11:08:57 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2018-12-29 11:08:57 +0000 |
commit | b1590bdf6a88c03e2aeeedbe04f4dbc4203073db (patch) | |
tree | ea6733ad05e79e93912924cc3725ab3fe96c83b3 /crates/ra_hir/src/ty/tests | |
parent | cfa1de72ebb7060a82dbf7a67432047d9ea2288a (diff) |
Missing return type means unit, not unknown
Diffstat (limited to 'crates/ra_hir/src/ty/tests')
-rw-r--r-- | crates/ra_hir/src/ty/tests/data/0006_backwards.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/0006_backwards.txt b/crates/ra_hir/src/ty/tests/data/0006_backwards.txt index 3a12aeef4..120069401 100644 --- a/crates/ra_hir/src/ty/tests/data/0006_backwards.txt +++ b/crates/ra_hir/src/ty/tests/data/0006_backwards.txt | |||
@@ -11,10 +11,10 @@ | |||
11 | [92; 110) 'unknow...tion()': u32 | 11 | [92; 110) 'unknow...tion()': u32 |
12 | [142; 160) 'unknow...tion()': i32 | 12 | [142; 160) 'unknow...tion()': i32 |
13 | [92; 108) 'unknow...nction': [unknown] | 13 | [92; 108) 'unknow...nction': [unknown] |
14 | [116; 128) 'takes_u32(a)': [unknown] | 14 | [116; 128) 'takes_u32(a)': () |
15 | [78; 231) '{ ...t &c }': &mut &f64 | 15 | [78; 231) '{ ...t &c }': &mut &f64 |
16 | [227; 229) '&c': &f64 | 16 | [227; 229) '&c': &f64 |
17 | [88; 89) 'a': u32 | 17 | [88; 89) 'a': u32 |
18 | [181; 182) 'b': i32 | 18 | [181; 182) 'b': i32 |
19 | [116; 125) 'takes_u32': fn(u32,) -> [unknown] | 19 | [116; 125) 'takes_u32': fn(u32,) -> () |
20 | [138; 139) 'b': i32 | 20 | [138; 139) 'b': i32 |