Fix negative traits coherence checks compile error message for type aliases #90259
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
F-negative_impls
#![feature(negative_impls)]
F-rustc_attrs
Internal rustc attributes gated on the `#[rustc_attrs]` feature gate.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Follow up of this comment on #90104
This test https://github.com/rust-lang/rust/pull/90104/files#diff-2c291b05493bf924a05c167ef3923655ca244b6fd8bc2303ffdc2ed2132498cc is giving an ungreat error message.
fails with ...
Error should mention about conflicting implementations for
u32
or something like that. More similar to what happens without using therustc_strict_coherence
attribute.The text was updated successfully, but these errors were encountered: