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
..
2020-02-29 13:51:23 +01:00
2020-02-27 14:04:13 +09:00
2020-02-28 17:28:29 +01:00
2020-02-27 14:04:13 +09:00
2020-02-29 13:51:23 +01:00
2020-02-29 13:51:23 +01:00
2020-02-28 13:08:47 +08:00
2020-02-27 14:04:13 +09:00
2020-02-29 13:51:23 +01:00
2020-02-27 14:04:13 +09:00
2020-02-27 10:06:48 +08:00