about summary refs log tree commit diff
path: root/src/test/ui/panic-runtime
diff options
context:
space:
mode:
authorhyd-dev <yd-huang@outlook.com>2021-03-25 18:49:35 +0800
committerhyd-dev <yd-huang@outlook.com>2021-04-11 22:32:40 +0800
commit2fd4dd20d717b3e8af4bdff2873b348920426425 (patch)
treed20af30295fee75b8cebd4de5d7ffbdd9777bcf2 /src/test/ui/panic-runtime
parent58f32da346642ff3f50186f6f4a0de46e61008be (diff)
downloadrust-2fd4dd20d717b3e8af4bdff2873b348920426425.tar.gz
rust-2fd4dd20d717b3e8af4bdff2873b348920426425.zip
Allow using `-C force-unwind-tables=no` when `panic=unwind`
Diffstat (limited to 'src/test/ui/panic-runtime')
-rw-r--r--src/test/ui/panic-runtime/unwind-tables-panic-required.rs10
1 files changed, 0 insertions, 10 deletions
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() {
-}