]> git.lizzy.rs Git - rust.git/blob - src/test/ui/concat.rs
Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup
[rust.git] / src / test / ui / 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 }