]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/concat.rs
Rollup merge of #105796 - notriddle:notriddle/rustdoc-search-stop-doing-demerits...
[rust.git] / tests / ui / macros / concat.rs
1 fn main() {
2     concat!(b'f');  //~ ERROR: cannot concatenate a byte string literal
3     concat!(b"foo");  //~ ERROR: cannot concatenate a byte string literal
4     concat!(foo);   //~ ERROR: expected a literal
5     concat!(foo()); //~ ERROR: expected a literal
6 }