rust/crates/rust-analyzer
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
tests/heavy_tests Run cargo +nightly fix --clippy -Z unstable-options 2020-02-18 16:03:08 +02:00
build.rs Remove unused placeholder 2020-02-21 18:33:45 +08:00
Cargo.toml Remove unused dependencies 2020-02-27 14:04:13 +09:00