summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/unreachable-arg.edition_2021.stderr
blob: ddaa2b9c1efe1ec876dd17e9de2a3f3df940464f (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 1 previous error