Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
fmt
/
format-args-capture-issue-94010.rs
blob: bd03e9c93ae2a801187a75710abe22e29bb064bb [
file
] [
log
] [
blame
]
fn
main
()
{
const
FOO
:
i32
=
123
;
println
!(
"{foo:X}"
);
//~^ ERROR: cannot find value `foo` in this scope
println
!(
"{:.foo$}"
,
0
);
//~^ ERROR: cannot find value `foo` in this scope
}