1 error: cannot concatenate a byte string literal
2 --> $DIR/concat.rs:12:13
4 LL | concat!(b'f'); //~ ERROR: cannot concatenate a byte string literal
7 error: cannot concatenate a byte string literal
8 --> $DIR/concat.rs:13:13
10 LL | concat!(b"foo"); //~ ERROR: cannot concatenate a byte string literal
13 error: expected a literal
14 --> $DIR/concat.rs:14:13
16 LL | concat!(foo); //~ ERROR: expected a literal
19 = note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()`
21 error: expected a literal
22 --> $DIR/concat.rs:15:13
24 LL | concat!(foo()); //~ ERROR: expected a literal
27 = note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()`
29 error: aborting due to 4 previous errors