1
0
Fork 0
firefox/third_party/rust/cstr/tests/compile_fail/non-str.stderr
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

17 lines
485 B
Text

error: expected one of: byte string literal, string literal, identifier
--> $DIR/non-str.rs:4:22
|
4 | let _foo = cstr!(1);
| ^
error: expected one of: byte string literal, string literal, identifier
--> $DIR/non-str.rs:5:22
|
5 | let _foo = cstr!(("a"));
| ^^^^^
error: expected one of: byte string literal, string literal, identifier
--> $DIR/non-str.rs:6:22
|
6 | let _foo = cstr!(&1);
| ^