diff options
| author | mejrs <> | 2022-12-20 16:43:34 +0100 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2023-01-11 14:39:49 -0800 |
| commit | 5d2b9a9ed09ac8a4cb4b7977cdc513fe1cf56408 (patch) | |
| tree | 2eb0a093b987f490b3d72a0a4df138fc5119d8c9 /compiler/rustc_error_messages | |
| parent | 519b1abd198255a6f6c69d80c20b57729622d61a (diff) | |
Migrate deconstruct_pat.rs
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/mir_build.ftl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/mir_build.ftl b/compiler/rustc_error_messages/locales/en-US/mir_build.ftl index 4faaffce7bb..162cfce0a24 100644 --- a/compiler/rustc_error_messages/locales/en-US/mir_build.ftl +++ b/compiler/rustc_error_messages/locales/en-US/mir_build.ftl @@ -317,4 +317,10 @@ mir_build_indirect_structural_match = to use a constant of type `{$non_sm_ty}` in a pattern, `{$non_sm_ty}` must be annotated with `#[derive(PartialEq, Eq)]` mir_build_nontrivial_structural_match = - to use a constant of type `{$non_sm_ty}` in a pattern, the constant's initializer must be trivial or `{$non_sm_ty}` must be annotated with `#[derive(PartialEq, Eq)]` \ No newline at end of file + to use a constant of type `{$non_sm_ty}` in a pattern, the constant's initializer must be trivial or `{$non_sm_ty}` must be annotated with `#[derive(PartialEq, Eq)]` + +mir_build_overlapping_range_endpoints = multiple patterns overlap on their endpoints + .range = ... with this range + .note = you likely meant to write mutually exclusive ranges + +mir_build_overlapping_range = this range overlaps on `{$range}`... |
