aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/flip_binexpr.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-18 09:48:08 +0100
committerGitHub <[email protected]>2020-04-18 09:48:08 +0100
commit162481d5ce87a250c3144e7d9a7c72a6032b023d (patch)
tree25056d4c632ef9b149514a72a169e46b13d6b777 /crates/ra_assists/src/handlers/flip_binexpr.rs
parent746b2e003e695753efb71981548e99a95661f13f (diff)
parentd3cb9ea0bfb6c9e6c8b57a46feb1de696084d994 (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_assists/src/handlers/flip_binexpr.rs')
0 files changed, 0 insertions, 0 deletions