Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
fmt
/
closing-brace-as-fill.rs
blob: 5865ee31c43df5d4c0f297c37b08a71d3691ba24 [
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
}