Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
tests
/
ui
/
fmt
/
closing-brace-as-fill.rs
blob: 6ad257f943e93fae26a773fdaf71df8d97c8ae08 [
file
] [
log
] [
blame
]
// issue: 112732
// `}` is typoed since it is interpreted as a fill character rather than a closing bracket
fn
main
()
{
println
!(
"Hello, world! {0:}<3"
,
2
);
//~^ ERROR invalid format string: expected `'}'` but string was terminated
}