summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-86865.stderr
blob: eed755366311be409970a0dd9c725c85a8728311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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