better error for rustc_strict_coherence misuse
This commit is contained in:
parent
5ab74459b8
commit
953727f574
5 changed files with 45 additions and 2 deletions
|
@ -27,3 +27,7 @@ middle_values_too_big =
|
|||
|
||||
middle_cannot_be_normalized =
|
||||
unable to determine layout for `{$ty}` because `{$failure_ty}` cannot be normalized
|
||||
|
||||
middle_strict_coherence_needs_negative_coherence =
|
||||
to use `strict_coherence` on this trait, the `with_negative_coherence` feature must be enabled
|
||||
.label = due to this attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue