]> git.lizzy.rs Git - rust.git/blob - src/test/compile-fail/unwind-tables-panic-required.rs
Rollup merge of #74979 - maekawatoshiki:fix, r=Mark-Simulacrum
[rust.git] / src / test / compile-fail / unwind-tables-panic-required.rs
1 // Tests that the compiler errors if the user tries to turn off unwind tables
2 // when they are required.
3 //
4 // compile-flags: -C panic=unwind -C force-unwind-tables=no
5 // ignore-tidy-linelength
6 //
7 // error-pattern: panic=unwind requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`.
8
9 pub fn main() {
10 }