Uh oh!
There was an error while loading. Please reload this page.
Make hitting the recursion limit in projection non-fatal - #81055
Conversation
This is relied on by wundergraph.
I wonder if this would help with #79506. |
jyn514
commented
Jan 15, 2021
See also #79517. |
jyn514
commented
Jan 15, 2021
It does not fix #79506, because that gives an error in rust/compiler/rustc_trait_selection/src/traits/select/mod.rs Lines 953 to 960 in 5db5d8f @matthewjasper should that match be changed too? |
matthewjasper
commented
Jan 16, 2021
This change already isn't really correct, it's just the safest fix for a backport. For rustdoc it would make sense to move reporting recursion limit errors outside of the trait system, but that's not what this change does (this change incorrectly allows the trait system to recover from recursion limit errors). |
jyn514
commented
Jan 16, 2021
Got it, thanks. Do you have suggestions for moving recursion limit errors out of the trait system? I'd be interested in working on it. |
matthewjasper
commented
Jan 16, 2021
It's basically find all of the places that create a |
apiraino
commented
Jan 21, 2021
beta backport approved, stable backport on hold, will be discussed next week (Zulip discussion) |
Mark-Simulacrum
commented
Jan 25, 2021
beta-nom label should not have been removed, see https://forge.rust-lang.org/release/beta-backporting.html -- can we add this to wg-prioritization docs perhaps? I think we're not highlighting those docs enough or they are confusing perhaps? |
nikomatsakis
commented
Jan 28, 2021
@bors r+ |
bors
commented
Jan 28, 2021
📌 Commit 5db5d8f has been approved by |
nikomatsakis
commented
Jan 28, 2021
@bors p=1 |
…=nikomatsakis Make hitting the recursion limit in projection non-fatal This change was originally made in rust-lang#80246 to avoid future (effectively) infinite loop bugs in projections, but wundergraph relies on rustc recovering here. cc rust-lang#80953 r? `@nikomatsakis`
apiraino
commented
Jan 28, 2021
bors
commented
Jan 28, 2021
bors
commented
Jan 28, 2021
☀️ Test successful - checks-actions |
…ikomatsakis Make hitting the recursion limit in projection non-fatal This change was originally made in rust-lang#80246 to avoid future (effectively) infinite loop bugs in projections, but wundergraph relies on rustc recovering here. cc rust-lang#80953 r? `@nikomatsakis`
[beta] backports This backports: * CI: only copy python.exe to python3.exe if the latter does not exist rust-lang#81762 * Make hitting the recursion limit in projection non-fatal rust-lang#81055 * Remove incorrect `delay_span_bug` rust-lang#81532 * introduce future-compatibility warning for forbidden lint groups rust-lang#81556 * Update cargo rust-lang#81755 * rustdoc: Fix visibility of trait and impl items rust-lang#81288 * Work around missing -dev packages in solaris docker image. rust-lang#81229 * Update LayoutError/LayoutErr stability attributes rust-lang#81767 * Revert 78373 ("dont leak return value after panic in drop") rust-lang#81257 * Rename `panic_fmt` lint to `non_fmt_panic` rust-lang#81729
Aaron1011
commented
Dec 18, 2021
@matthewjasper Is there an open issue for applying the correct fix? |
This change was originally made in #80246 to avoid future (effectively) infinite loop bugs in projections,
but wundergraph relies on rustc recovering here.
cc #80953
r? @nikomatsakis