]> git.lizzy.rs Git - rust.git/commit
Fix wrong handling of bare `dyn Trait` exposed by canonicalizer fix
authorFlorian Diebold <flodiebold@gmail.com>
Fri, 21 Feb 2020 22:06:18 +0000 (23:06 +0100)
committerFlorian Diebold <flodiebold@gmail.com>
Sat, 22 Feb 2020 10:09:21 +0000 (11:09 +0100)
commit463df6720cc8d2c7176a48a0ca8f4e333016a16a
tree48aa09c0066b945b4885a6ae0cc0a5981bfd631b
parent2d5ab6324795e5fc36e4b61cb66737958dc67e7a
Fix wrong handling of bare `dyn Trait` exposed by canonicalizer fix

The self type in the `dyn Trait` trait ref should always be ^0, but we didn't
put that in there in the bare case.
crates/ra_hir_ty/src/lower.rs