mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-30 12:36:38 +00:00
Fix ICE during type layout when there's a `[type error]` Fixes #84108. 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. r? `@estebank` [comment]: https://github.com/rust-lang/rust/issues/84108#issuecomment-818916848
For more information about how rustc works, see the rustc dev guide.