rust/tests/ui/macros/issue-86865.stderr
2023-01-11 09:32:08 +00:00

19 lines
487 B
Plaintext

error: format argument must be a string literal
--> $DIR/issue-86865.rs:4:14
|
LL | println!(b"foo");
| -^^^^^
| |
| help: consider removing the leading `b`
error: format argument must be a string literal
--> $DIR/issue-86865.rs:8:15
|
LL | write!(s, b"foo{}", "bar");
| -^^^^^^^
| |
| help: consider removing the leading `b`
error: aborting due to 2 previous errors