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 1f78ec0 commit 9880b37Copy full SHA for 9880b37
compiler/rustc_parse_format/src/lib.rs
@@ -859,10 +859,7 @@ impl<'input> Parser<'input> {
859
0,
860
ParseError {
861
description: "expected alignment specifier after `:` in format string; example: `{{:>?}}`".to_owned(),
862
- note: Some(
863
- "alignment must be one of `<` (left), `^` (center), or `>` (right)"
864
- .to_string(),
865
- ),
+ note: None,
866
label: format!("expected `{}` to occur after `:`", alignment),
867
span: range,
868
secondary_label: None,
0 commit comments