Uh oh!
There was an error while loading. Please reload this page.
Gracefully fail to resolve associated items instead of delay_span_bug. - #96806
Conversation
oli-obk
commented
May 9, 2022
This should affect the ICEs in https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Aopen+Encountered+errors+resolving+bounds+outside+of+type+inference Please add tests for them. This also likely affects all tests in https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Aopen+Encountered+error+%60Unimplemented%60+selecting+during+codegen That's a lot of ICE issues (21 right now). While in theory we could just merge this PR and let glacier handle the follow up, it seems like some of them may actually end up passing compilation with this PR, and we should be careful and check if that is intended. |
oli-obk
commented
May 10, 2022
@bors r+ |
bors
commented
May 10, 2022
📌 Commit 931e7d61395b40f63ff5b617af97f0362ae36a1c has been approved by |
bors
commented
May 11, 2022
⌛ Testing commit 931e7d61395b40f63ff5b617af97f0362ae36a1c with merge b202fd73bd2be73dc84df779c173596bd365d936... |
This comment has been minimized.
This comment has been minimized.
bors
commented
May 11, 2022
💔 Test failed - checks-actions |
oli-obk
commented
May 11, 2022
r=me with rebase+bless |
931e7d6 to
dacf118Comparecjgillot
commented
May 11, 2022
@bors r=oli-obk |
bors
commented
May 11, 2022
💡 This pull request was already approved, no need to approve it again.
|
bors
commented
May 11, 2022
📌 Commit 931e7d61395b40f63ff5b617af97f0362ae36a1c has been approved by |
cjgillot
commented
May 11, 2022
@bors r- |
cjgillot
commented
May 11, 2022
@bors r=oli-obk |
bors
commented
May 11, 2022
📌 Commit dacf118 has been approved by |
bors
commented
May 11, 2022
bors
commented
May 12, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
May 12, 2022
Finished benchmarking commit (cb9cb4d): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
…i-obk Add tests for rust-lang#96806 I messed up the rebase in rust-lang#96806. I took the opportunity to add an extra mir-opt test from rust-lang#91743. r? `@oli-obk`
…askrgr Rollup of 5 pull requests Successful merges: - rust-lang#95896 (Note the contacts for the nvptx64 target(s)) - rust-lang#96860 (openbsd: convert futex timeout managment to Timespec usage) - rust-lang#96939 (Fix settings page CSS) - rust-lang#96941 (update graphviz links) - rust-lang#96968 (Add tests for rust-lang#96806) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Alexendoo
commented
May 13, 2022
From glacier: they all now compile without errors, in addition to the ones already closed by the PR the following no longer ICE |
codegen_fulfill_obligationis used during instance resolution for trait items.In case of insufficient normalization issues during MIR inlining, it caused ICEs.
It's better to gracefully refuse to resolve the associated item, and let the caller decide what to do with this.
Split from #91743
Closes#69121
Closes#73021
Closes#88599
Closes#93008
Closes#93248
Closes#94680
Closes#96170
r? @oli-obk