]>
Commit | Line | Data |
---|---|---|
3c0e092e XL |
1 | error: format argument must be a string literal |
2 | --> $DIR/const_panic_stability.rs:14:12 | |
3 | | | |
4 | LL | panic!({ "foo" }); | |
5 | | ^^^^^^^^^ | |
6 | | | |
7 | help: you might be missing a string literal to format with | |
8 | | | |
9 | LL | panic!("{}", { "foo" }); | |
10 | | +++++ | |
11 | ||
12 | error: aborting due to previous error | |
13 |