Skip to content

Turn eager normalization errors to delayed errors#82039

Closed
estebank wants to merge 1 commit intorust-lang:masterfrom
estebank:issue-81199
Closed

Turn eager normalization errors to delayed errors#82039
estebank wants to merge 1 commit intorust-lang:masterfrom
estebank:issue-81199

Conversation

@estebank
Copy link
Contributor

When normalizing unions with fields coming from associated types that
don't satisfy trait bounds, avoid ICEing by using delay_span_bug()
instead of bug!().

Fix #81199.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Normalizing <T as Trait>::AssocType in a union causes an ICE