summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/unreachable-arg.edition_2021.stderr
blob: d70ef31eed65c2965616233c391f05d7687509a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: format argument must be a string literal
  --> $DIR/unreachable-arg.rs:15:18
   |
LL |     unreachable!(a);
   |                  ^
   |
help: you might be missing a string literal to format with
   |
LL |     unreachable!("{}", a);
   |                  +++++

error: aborting due to previous error