diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-05 22:03:01 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-05 22:03:01 +0100 |
commit | 4bc8a018302d53951ae855ba57d07095a16ef182 (patch) | |
tree | db440a2bdd6148bc292bd20397f389671f8cb48c /crates/hir_ty/src/diagnostics/expr.rs | |
parent | 7ce0e9c9ca552e063855d60df7dca65ba9953fc3 (diff) | |
parent | 1ae967bf8e01262f1ace1c06f6670f09fcf92fd2 (diff) |
Merge #8360
8360: Fix shifting of binders in FnPointer r=flodiebold a=flodiebold
- don't shift in/out for Chalk mapping (we want to have the same binders now)
- do shift in when creating the signature for a closure (though it shouldn't matter much)
- do shift in when lowering a `fn()` type
- correctly deal with the implied binder in TypeWalk
Tested with the binders validator on various repos, so I'm pretty sure this doesn't mess things up :grimacing:
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/diagnostics/expr.rs')
0 files changed, 0 insertions, 0 deletions