]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/unreachable-arg.edition_2021.stderr
Auto merge of #106976 - tmiasko:borrowck-lazy-dominators, r=cjgillot
[rust.git] / tests / ui / macros / unreachable-arg.edition_2021.stderr
1 error: format argument must be a string literal
2   --> $DIR/unreachable-arg.rs:15:18
3    |
4 LL |     unreachable!(a);
5    |                  ^
6    |
7 help: you might be missing a string literal to format with
8    |
9 LL |     unreachable!("{}", a);
10    |                  +++++
11
12 error: aborting due to previous error
13