rust/crates/hir-ty
bors 518e39bfe6 Auto merge of #13742 - lowr:fix/assoc-type-shorthand-with-gats, r=flodiebold
fix: only shift `BoundVar`s that come from outside lowering context

Fixes #13734

There are some free functions `TyLoweringContext` methods call, which do not know anything about current binders in scope. We need to shift in the `BoundVar`s in substitutions that we get from them (#4952), but not those we get from `TyLoweringContext` methods.
2022-12-10 11:17:18 +00:00
..
src Auto merge of #13742 - lowr:fix/assoc-type-shorthand-with-gats, r=flodiebold 2022-12-10 11:17:18 +00:00
Cargo.toml Auto merge of #13490 - HKalbasi:layout, r=jonas-schievink 2022-12-07 15:22:03 +00:00