From 2fd4dd20d717b3e8af4bdff2873b348920426425 Mon Sep 17 00:00:00 2001 From: hyd-dev Date: Thu, 25 Mar 2021 18:49:35 +0800 Subject: Allow using `-C force-unwind-tables=no` when `panic=unwind` --- src/test/ui/panic-runtime/unwind-tables-panic-required.rs | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 src/test/ui/panic-runtime/unwind-tables-panic-required.rs (limited to 'src/test/ui/panic-runtime') diff --git a/src/test/ui/panic-runtime/unwind-tables-panic-required.rs b/src/test/ui/panic-runtime/unwind-tables-panic-required.rs deleted file mode 100644 index 79e91879051..00000000000 --- a/src/test/ui/panic-runtime/unwind-tables-panic-required.rs +++ /dev/null @@ -1,10 +0,0 @@ -// Tests that the compiler errors if the user tries to turn off unwind tables -// when they are required. -// -// dont-check-compiler-stderr -// compile-flags: -C panic=unwind -C force-unwind-tables=no -// -// error-pattern: panic=unwind requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`. - -pub fn main() { -} -- cgit 1.4.1-3-g733a5