2 // ignore-emscripten no processes
4 // revisions: edition_2015 edition_2021
5 // [edition_2015]edition:2015
6 // [edition_2021]edition:2021
7 // [edition_2015]error-pattern:internal error: entered unreachable code: x is {x}
8 // [edition_2021]error-pattern:internal error: entered unreachable code: x is 5
10 #![allow(non_fmt_panics)]
14 unreachable!("x is {x}");