You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I filed bugs #13734 and #13759 recently, and then realized I could probably fix them myself. This does exactly that, with a couple additional modifications and additions to the test-suite to pick up on that.
I've never done this before, so please feel free to tell me all the things I'm doing wrong or could be doing better.
…ts, r=flodiebold
fix: only shift `BoundVar`s that come from outside lowering context
Fixesrust-lang#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 (rust-lang#4952), but not those we get from `TyLoweringContext` methods.
The size_hint for std::slice::Permutations should be easy to get right, correct?
It's just N!, where N is the length of the underlying vector, right? So getting that size_hint correct wouldn't hurt...
The text was updated successfully, but these errors were encountered: