rust/tests/ui/rfcs/rfc-3348-c-string-literals/no-nuls.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
670 B
Plaintext
Raw Normal View History

2023-03-06 01:10:23 -06:00
error: null character in C string
--> $DIR/no-nuls.rs:4:7
|
LL | c"\0";
| ^^ null character in C string
error: null character in C string
--> $DIR/no-nuls.rs:7:7
|
LL | c"\u{00}";
| ^^^^^^ null character in C string
error: null character in C string
--> $DIR/no-nuls.rs:10:7
|
LL | c"";
| ^ null character in C string
error: null character in C string
--> $DIR/no-nuls.rs:13:7
|
LL | c"\x00";
| ^^^^ null character in C string
error: null character in C string
--> $DIR/no-nuls.rs:16:8
|
LL | cr"";
| ^ null character in C string
error: aborting due to 5 previous errors