tests/compile_fail/non-str.stderr
raw| 1 | error: expected one of: byte string literal, string literal, identifier |
| 2 | --> $DIR/non-str.rs:4:22 |
| 3 | | |
| 4 | 4 | let _foo = cstr!(1); |
| 5 | | ^ |
| 6 | |
| 7 | error: expected one of: byte string literal, string literal, identifier |
| 8 | --> $DIR/non-str.rs:5:22 |
| 9 | | |
| 10 | 5 | let _foo = cstr!(("a")); |
| 11 | | ^^^^^ |
| 12 | |
| 13 | error: expected one of: byte string literal, string literal, identifier |
| 14 | --> $DIR/non-str.rs:6:22 |
| 15 | | |
| 16 | 6 | let _foo = cstr!(&1); |
| 17 | | ^ |