diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-18 09:48:08 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-18 09:48:08 +0100 |
commit | 162481d5ce87a250c3144e7d9a7c72a6032b023d (patch) | |
tree | 25056d4c632ef9b149514a72a169e46b13d6b777 /crates/ra_prof/src/memory_usage.rs | |
parent | 746b2e003e695753efb71981548e99a95661f13f (diff) | |
parent | d3cb9ea0bfb6c9e6c8b57a46feb1de696084d994 (diff) |
Merge #4023
4023: Fix another crash from wrong binders r=matklad a=flodiebold
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.
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_prof/src/memory_usage.rs')
0 files changed, 0 insertions, 0 deletions