Uh oh!
There was an error while loading. Please reload this page.
Concrete regions can show up in mir borrowck if the originated from there - #88533
Hidden character warning
Conversation
…here. We used to not encounter them here, because we took regions from typeck's opaque type resolution by renumbering them. We don't do that anymore.
spastorino
commented
Aug 31, 2021
It would be nice to add a regression test for this particular thing. We could reduce the code from #83190, the @rustbot ping cleanup-crew To try to reduce that example and come up with a regression test. Anyway, we're in a rush to merge this and backport to beta so ... @bors r+ rollup=never |
bors
commented
Aug 31, 2021
📌 Commit 43738c6 has been approved by |
rustbot
commented
Aug 31, 2021
Hey Cleanup Crew ICE-breakers! This bug has been identified as a good cc @AminArria@camelid@chrissimpkins@contrun@DutchGhost@elshize@h-michael@HallerPatrick@hdhoang@hellow554@henryboisdequin@imtsuki@JamesPatrickGill@kanru@KarlK90@MAdrianMattocks@matheus-consoli@mental32@nmccarty@Noah-Kennedy@pard68@PeytonT@pierreN@Redblueflame@RobbieClarken@RobertoSnap@robjtede@SarthakSingh31@shekohex@sinato@smmalis37@steffahn@Stupremee@tamuhey@turboladen@woshilapin@yerke |
spastorino
commented
Aug 31, 2021
This fixes |
jackh726
commented
Aug 31, 2021
@bors p=1 |
bors
commented
Aug 31, 2021
bors
commented
Sep 1, 2021
☀️ Test successful - checks-actions |
…ulacrum [beta] backports This PR backports: * Concrete regions can show up in mir borrowck if the originated from there rust-lang#88533 (fixesrust-lang#83190) * Fix loading large rlibs rust-lang#88506 (fixesrust-lang#88351) * Display associated types of implementors rust-lang#88490 (fixesrust-lang#86631) * Tracking issue for UNSUPPORTED_CALLING_CONVENTIONS rust-lang#88397 r? `@Mark-Simulacrum`
pnkfelix
commented
Sep 8, 2021
During weekly performance triage, this was identified as causing a very small regression in instruction counts (up to 1.0% on |
oli-obk
commented
Sep 9, 2021
Since these examples compiled before this PR, and this PR solely removes a |
Mark-Simulacrum
commented
Oct 3, 2021
The new significance algorithm essentially concurs that this was not after all a performance regression. If we do include very small changes, then there's a couple regressions, but those are pretty likely to be unrelated to this PR -- it looks like the majority of the new instructions come from |
We used to not encounter them here, because we took regions from typeck's opaque type resolution by renumbering them. We don't do that anymore. Instead mir borrock does all the logic, and it can handle concrete regions just fine, as long as it created them itself.
fixes#83190 which was introduced by #87287
r? @spastorino