]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/const-eval/const_panic_stability.e2021.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / 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
12error: aborting due to previous error
13