X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_error_messages%2Flocales%2Fen-US%2Fmir_build.ftl;h=224855fff8b56f35a7e02214a87749dd8cc89890;hb=9e6873f7888c64bbded5de761489c0a0f0df826b;hp=a082c0b61fa7ed293b873b9e054f7f9e1481957e;hpb=6486b021053fe143f5f81585b42c3f57acd18c43;p=rust.git 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 a082c0b61fa..224855fff8b 100644 --- a/compiler/rustc_error_messages/locales/en-US/mir_build.ftl +++ b/compiler/rustc_error_messages/locales/en-US/mir_build.ftl @@ -364,3 +364,5 @@ mir_build_suggest_let_else = you might want to use `let else` to handle the {$co [one] variant that isn't *[other] variants that aren't } matched + +mir_build_suggest_attempted_int_lit = alternatively, you could prepend the pattern with an underscore to define a new named variable; identifiers cannot begin with digits