rust/crates
Florian Diebold 5fe220b987 Fix a common false-positive type mismatch
E.g. for `&{ some_string() }` in a context where a `&str` is expected, we
reported a mismatch inside the block. The problem is that we're passing an
expectation of `str` down, but the expectation is more of a hint in this case.
There's a long comment in rustc about this, which I just copied.

Also, fix reported location for type mismatches in macros.
2020-02-29 15:31:07 +01:00
..
ra_arena Switch to variant-granularity field type inference 2019-11-25 00:12:36 +03:00
ra_assists Fix typo 2020-02-29 13:51:23 +01:00
ra_cargo_watch Remove unused dependencies 2020-02-27 14:04:13 +09:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db ra_db: removed a couple of explicit lifetimes 2020-02-22 17:00:39 +02:00
ra_fmt When joining lines, unwrap trivial diverging blocks 2020-02-24 17:17:05 +01:00
ra_hir Reduce visibility 2020-02-28 17:28:29 +01:00
ra_hir_def Remove unused dependencies 2020-02-27 14:04:13 +09:00
ra_hir_expand Update versions 2020-02-18 16:12:40 +02:00
ra_hir_ty Fix a common false-positive type mismatch 2020-02-29 15:31:07 +01:00
ra_ide Cleanup editing API 2020-02-29 13:51:23 +01:00
ra_ide_db Fix highlighting of const patterns 2020-02-28 16:38:36 +01:00
ra_mbe Cleanup editing API 2020-02-29 13:51:23 +01:00
ra_parser Parse attr in rhs of let stmts 2020-02-28 13:08:47 +08:00
ra_prof Remove unused dependencies 2020-02-27 14:04:13 +09:00
ra_project_model Add suggestion for failed path resolution 2020-02-23 15:51:32 +01:00
ra_syntax Fix typo 2020-02-29 13:51:23 +01:00
ra_text_edit Remove unused dependencies 2020-02-27 14:04:13 +09:00
ra_tt Update versions 2020-02-18 16:12:40 +02:00
rust-analyzer Fix a common false-positive type mismatch 2020-02-29 15:31:07 +01:00
test_utils Use text_range::extend_to 2020-02-27 10:06:48 +08:00