1error: cannot concatenate a byte string literal
2  --> $DIR/concat.rs:2:13
3   |
4LL |     concat!(b'f');
5   |             ^^^^
6
7error: cannot concatenate a byte string literal
8  --> $DIR/concat.rs:3:13
9   |
10LL |     concat!(b"foo");
11   |             ^^^^^^
12
13error: expected a literal
14  --> $DIR/concat.rs:4:13
15   |
16LL |     concat!(foo);
17   |             ^^^
18   |
19   = note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()`
20
21error: expected a literal
22  --> $DIR/concat.rs:5:13
23   |
24LL |     concat!(foo());
25   |             ^^^^^
26   |
27   = note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()`
28
29error: aborting due to 4 previous errors
30
31