diff options
| author | bors <bors@rust-lang.org> | 2022-11-21 18:36:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-21 18:36:26 +0000 |
| commit | b7bc90fea3b441234a84b49fdafeb75815eebbab (patch) | |
| tree | aba475763a52ff6fcad1c617234288ac9880b8e3 /compiler/rustc_parse/src/parser/diagnostics.rs | |
| parent | 1cbc45942d5c0f6eb5d94e3b10762ba541958035 (diff) | |
| parent | f47abd89877b7cfa84e28465aaf647cd48bbc503 (diff) | |
Auto merge of #104120 - mejrs:diag, r=davidtwco
Match and enforce crate and slug names Some of these were in the wrong place or had a name that didn't match.
Diffstat (limited to 'compiler/rustc_parse/src/parser/diagnostics.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/diagnostics.rs b/compiler/rustc_parse/src/parser/diagnostics.rs index 2558ac801ad..4c626539238 100644 --- a/compiler/rustc_parse/src/parser/diagnostics.rs +++ b/compiler/rustc_parse/src/parser/diagnostics.rs @@ -937,7 +937,7 @@ impl<'a> Parser<'a> { if self.eat(&token::Gt) { e.span_suggestion_verbose( binop.span.shrink_to_lo(), - fluent::parser_sugg_turbofish_syntax, + fluent::parse_sugg_turbofish_syntax, "::", Applicability::MaybeIncorrect, ) |
