2023-07-16 19:36:00 -05:00
|
|
|
error: invalid format string: expected `'}'` but string was terminated
|
|
|
|
--> $DIR/closing-brace-as-fill.rs:6:35
|
|
|
|
|
|
|
|
|
LL | println!("Hello, world! {0:}<3", 2);
|
|
|
|
| - ^ expected `'}'` in format string
|
|
|
|
| |
|
|
|
|
| this is not interpreted as a formatting closing brace
|
|
|
|
|
|
|
|
|
= note: the character `'}'` is interpreted as a fill character because of the `:` that precedes it
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-07-16 19:36:00 -05:00
|
|
|
|