Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
concat.rs
blob: d7ab7d62625d7631c9f9129fb47de3e843e05233 [
file
] [
log
] [
blame
]
fn
main
()
{
concat
!(
b
'f'
);
//~ ERROR: cannot concatenate a byte string literal
concat
!(
b
"foo"
);
//~ ERROR: cannot concatenate a byte string literal
concat
!(
foo
);
//~ ERROR: expected a literal
concat
!(
foo
());
//~ ERROR: expected a literal
}