-
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
Move IntoDiagnostic
conformance for TargetDataLayoutErrors
into rustc_errors
#102684
Move IntoDiagnostic
conformance for TargetDataLayoutErrors
into rustc_errors
#102684
Conversation
r? @eholk (rust-highfive has picked a reviewer for you, use r? to override) |
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you try this as an alternative approach?
@bors r? @davidtwco @davidtwco - You seem to have more context here so I'll let you handle this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one comment to resolve then r=me
2dc8370
to
9052800
Compare
…errors This way we comply with the Coherence rule given that IntoDiagnostic trait is defined in rustc_errors, and almost all other crates depend on it.
9052800
to
be22157
Compare
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (1755c85): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
Addressed this suggestion #101558 (comment).
This way we comply with the Coherence rule given that
IntoDiagnostic
trait is defined inrustc_errors
, and almost all other crates depend on it.