-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ICE during type layout when there's a [type error]
#84262
Conversation
Based on estebank's [comment], except I used `delay_span_bug` because it should work in more cases, and I think it expresses its intent more clearly. [comment]: rust-lang#84108 (comment)
I think a simpler fix is to add |
@bors r+ @camsteffen it's true that checking for errors and returning is valid, I prefer us not to be shy about adding |
📌 Commit c30eac5 has been approved by |
I wondered. Thanks for explaining. |
⌛ Testing commit c30eac5 with merge 828dc104cdf74c1e275408cae179e4c3042612c3... |
💔 Test failed - checks-actions |
@bors retry |
Rollup of 6 pull requests Successful merges: - rust-lang#84262 (Fix ICE during type layout when there's a `[type error]`) - rust-lang#85973 (Replace a `match` with an `if let`) - rust-lang#85996 (rustbuild: take changes to the standard library into account for `download-rustc`) - rust-lang#86016 (Unify duplicate linker_and_flavor methods in rustc_codegen_{cranelift,ssa}.) - rust-lang#86025 (Remove the install prefix from the rpath set when using -Crpath) - rust-lang#86081 (Use `try_into` instead of asserting manually) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #84108.
Based on estebank's comment, except I used
delay_span_bug
because itshould work in more cases, and I think it expresses its intent more
clearly.
r? @estebank