-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-metadataArea: Crate metadataArea: Crate metadataA-trait-systemArea: Trait systemArea: Trait systemI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Description
Right now, if we try to inline a function that makes a call to a default method, the compiler ICEs trying to look up the default method.
This is an artifact of the completely bogus way that I implemented cross crate default methods, in which each crate generates fresh fake def_ids for the default methods in all of the impls that they see. The right thing to do is to actually export default method information in metadata.
Part of #2794.
Metadata
Metadata
Assignees
Labels
A-metadataArea: Crate metadataArea: Crate metadataA-trait-systemArea: Trait systemArea: Trait systemI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️