rust/crates/ra_hir_ty
Florian Diebold f86fe3d891 Don't unify within a reference
If we are expecting a `&Foo` and get a `&something`, when checking the
`something`, we are *expecting* a `Foo`, but we shouldn't try to unify whatever
we get with that expectation, because it could actually be a `&Foo`, and `&&Foo`
coerces to `&Foo`. So this fixes quite a few false type mismatches.
2019-12-06 15:15:26 +01:00
..
src Don't unify within a reference 2019-12-06 15:15:26 +01:00
Cargo.toml prune deps 2019-11-27 21:26:49 +03:00