Sign in
android
/
toolchain
/
rustc
/
983137f038c4d4b95a0cd86b7c42d0313b50de67
/
.
/
src
/
test
/
ui
/
fmt
/
format-args-capture-macro-hygiene.rs
blob: 6ca7dcc216f3a9d7cd90cef900974b7bd88439e0 [
file
] [
log
] [
blame
]
#![
feature
(
format_args_capture
)]
fn
main
()
{
format
!(
concat
!(
"{foo}"
));
//~ ERROR: there is no argument named `foo`
format
!(
concat
!(
"{ba"
,
"r} {}"
),
1
);
//~ ERROR: there is no argument named `bar`
}