diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-05 19:27:44 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-05 19:27:44 +0100 |
commit | bf2d91b26ae5e047abb4f0e7975bb6d0163bab21 (patch) | |
tree | a39fbb5d654a5626ce66c11446776c739b462d6b /crates/ra_hir_ty/src/tests/regression.rs | |
parent | 3431312418ea255e98d3f94536344d396b9b07d6 (diff) | |
parent | 7d62280a713de08b361a08df077ff361b2e1fa99 (diff) |
Merge #3858
3858: Hide unit function return types r=flodiebold a=lnicola
r? @flodiebold
This might be a bit heavy-handed (e.g. `|| -> ()` to `||`), what do you think?
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'crates/ra_hir_ty/src/tests/regression.rs')
-rw-r--r-- | crates/ra_hir_ty/src/tests/regression.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/tests/regression.rs b/crates/ra_hir_ty/src/tests/regression.rs index 2ee9b8f10..3402e0cb5 100644 --- a/crates/ra_hir_ty/src/tests/regression.rs +++ b/crates/ra_hir_ty/src/tests/regression.rs | |||
@@ -376,7 +376,7 @@ fn issue_2669() { | |||
376 | ), | 376 | ), |
377 | @r###" | 377 | @r###" |
378 | [147; 262) '{ ... }': () | 378 | [147; 262) '{ ... }': () |
379 | [161; 164) 'end': fn end<{unknown}>() -> () | 379 | [161; 164) 'end': fn end<{unknown}>() |
380 | [161; 166) 'end()': () | 380 | [161; 166) 'end()': () |
381 | [199; 252) '{ ... }': () | 381 | [199; 252) '{ ... }': () |
382 | [221; 223) '_x': ! | 382 | [221; 223) '_x': ! |