fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
383 B10 linesraw
1error: argument to `panic!()` in a const context must have type `&str`
2  --> $DIR/issue-85907.rs:2:5
3   |
4LL |     panic!(123);
5   |     ^^^^^^^^^^^
6   |
7   = 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)
8
9error: aborting due to previous error
10