mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
310 B
Plaintext
14 lines
310 B
Plaintext
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
|
|
|