1
Fork 0

better error for rustc_strict_coherence misuse

This commit is contained in:
Michael Goulet 2022-10-30 19:10:35 +00:00
parent 5ab74459b8
commit 953727f574
5 changed files with 45 additions and 2 deletions

View file

@ -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