diff options
author | Florian Diebold <[email protected]> | 2020-04-17 21:48:29 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2020-04-17 23:01:09 +0100 |
commit | d3cb9ea0bfb6c9e6c8b57a46feb1de696084d994 (patch) | |
tree | dec68fc67c90737820b81da02f4f03028d12b43d /crates/ra_hir_def/src/find_path.rs | |
parent | a4cda3efbbabe4c6129de4dc095953fe858d7d3f (diff) |
Fix another crash from wrong binders
Basically, if we had something like `dyn Trait<T>` (where `T` is a type
parameter) in an impl we lowered that to `dyn Trait<^0.0>`, when it should be
`dyn Trait<^1.0>` because the `dyn` introduces a new binder. With one type
parameter, that's just wrong, with two, it'll lead to crashes.
Diffstat (limited to 'crates/ra_hir_def/src/find_path.rs')
0 files changed, 0 insertions, 0 deletions