rust-analyzer/crates/ra_hir_ty
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
..
src Fix a common false-positive type mismatch 2020-02-29 15:31:07 +01:00
Cargo.toml Bump chalk and replace TypeFamily with Interner 2020-02-24 22:36:57 +02:00