rust/tests/ui/consts/const-eval/issue-85907.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
385 B
Plaintext
Raw Normal View History

2022-06-26 20:07:19 -05:00
error: argument to `panic!()` in a const context must have type `&str`
--> $DIR/issue-85907.rs:2:5
|
LL | panic!(123);
| ^^^^^^^^^^^
|
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
2022-06-26 20:07:19 -05:00
error: aborting due to 1 previous error
2022-06-26 20:07:19 -05:00