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 |
davidtwco
left a comment
There was a problem hiding this comment.
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. |
davidtwco
left a comment
There was a problem hiding this comment.
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
IntoDiagnostictrait is defined inrustc_errors, and almost all other crates depend on it.