We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a21d216 commit 1f78ec0Copy full SHA for 1f78ec0
compiler/rustc_parse_format/src/lib.rs
@@ -858,10 +858,7 @@ impl<'input> Parser<'input> {
858
self.errors.insert(
859
0,
860
ParseError {
861
- description: format!(
862
- "expected `{}` (alignment specifier) after `:` in format string; example: `{{:>#X5}}`",
863
- alignment
864
- ),
+ description: "expected alignment specifier after `:` in format string; example: `{{:>?}}`".to_owned(),
865
note: Some(
866
"alignment must be one of `<` (left), `^` (center), or `>` (right)"
867
.to_string(),
0 commit comments