diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-31 10:52:47 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-31 10:52:47 +0100 |
commit | c69f6f31d15826cfa69e212a739fe7e4cd58b39d (patch) | |
tree | 372d73d9963179349c32d7eef6fb4f3669559dec /crates/hir_ty/src/diagnostics/unsafe_check.rs | |
parent | 2436621b6c5e636fa112cd5abfdd03511c9561e0 (diff) | |
parent | 6f0575f08adca0c8a8f38a301913a1cfe636eb94 (diff) |
Merge #8266
8266: Fix generic arguments being incorrectly offset in qualified trait casts r=flodiebold a=Veykril
We reverse the segments and generic args of the lowered path after building it, this wasn't accounted for when inserting the self parameter in `Type as Trait` segments.
Fixes #5886
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/diagnostics/unsafe_check.rs')
0 files changed, 0 insertions, 0 deletions