diff options
author | Kirill Bulatov <[email protected]> | 2020-07-20 21:50:41 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-07-20 21:50:41 +0100 |
commit | 54cc3fee4550ec7e2e8b6f118de4b7ced546bc97 (patch) | |
tree | 5ff59474400febb92c4f438179af08f9c3dd1a26 /crates/ra_ide | |
parent | 76c1fac9c3ed9fa3f784e5cdde7dd770c9fac6c1 (diff) |
Do not show default types in closures
Diffstat (limited to 'crates/ra_ide')
-rw-r--r-- | crates/ra_ide/src/inlay_hints.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_ide/src/inlay_hints.rs b/crates/ra_ide/src/inlay_hints.rs index 09883ab4d..f2e4f7ee5 100644 --- a/crates/ra_ide/src/inlay_hints.rs +++ b/crates/ra_ide/src/inlay_hints.rs | |||
@@ -425,6 +425,8 @@ fn main() { | |||
425 | //^^ Test<i32> | 425 | //^^ Test<i32> |
426 | let zz_ref = &zz; | 426 | let zz_ref = &zz; |
427 | //^^^^^^ &Test<i32> | 427 | //^^^^^^ &Test<i32> |
428 | let test = || zz; | ||
429 | //^^^^ || -> Test<i32> | ||
428 | }"#, | 430 | }"#, |
429 | ); | 431 | ); |
430 | } | 432 | } |