blob: aad36b52b011c73b3fd7bd5044d8b487aca165c9 [file] [log] [blame] [edit]
error: format argument must be a string literal
--> $DIR/const_panic_stability.rs:14:12
|
LL | panic!({ "foo" });
| ^^^^^^^^^
|
help: you might be missing a string literal to format with
|
LL | panic!("{}", { "foo" });
| +++++
error: aborting due to 1 previous error