]> git.proxmox.com Git - rustc.git/blame - tests/ui/consts/const-eval/const_panic_stability.e2021.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / consts / const-eval / const_panic_stability.e2021.stderr
CommitLineData
3c0e092e
XL
1error: format argument must be a string literal
2 --> $DIR/const_panic_stability.rs:14:12
3 |
4LL | panic!({ "foo" });
5 | ^^^^^^^^^
6 |
7help: you might be missing a string literal to format with
8 |
9LL | panic!("{}", { "foo" });
10 | +++++
11
4b012472 12error: aborting due to 1 previous error
3c0e092e 13