]> git.proxmox.com Git - rustc.git/blob - vendor/cstr/tests/compile_fail/non-str.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / vendor / cstr / tests / compile_fail / non-str.stderr
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 | ^