Tweak unevaluated constant in pattern error
Silence errors that are implied by the errors in the `const` item definition. Add a primary span label.
This commit is contained in:
parent
c6205055e0
commit
cc492edc9d
22 changed files with 37 additions and 165 deletions
|
@ -92,6 +92,7 @@ mir_build_const_pattern_depends_on_generic_parameter =
|
|||
constant pattern depends on a generic parameter
|
||||
|
||||
mir_build_could_not_eval_const_pattern = could not evaluate constant pattern
|
||||
.label = could not evaluate constant
|
||||
|
||||
mir_build_deref_raw_pointer_requires_unsafe =
|
||||
dereference of raw pointer is unsafe and requires unsafe block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue