about summary refs log tree commit diff
path: root/src/test/ui/binding
diff options
context:
space:
mode:
authorDavid Koloski <djkoloski@gmail.com>2021-12-03 15:32:51 +0000
committerDavid Koloski <djkoloski@gmail.com>2021-12-09 22:03:52 +0000
commitea68758299a89556e67f0bfffffb19c0c8346e8a (patch)
treecfaa63a0c8e70dfba8e3204bf38df53d31cbca51 /src/test/ui/binding
parent0b42deaccc2cbe17a68067aa5fdb76104369e1fd (diff)
downloadrust-ea68758299a89556e67f0bfffffb19c0c8346e8a.tar.gz
rust-ea68758299a89556e67f0bfffffb19c0c8346e8a.zip
Add needs-unwind to tests that depend on panicking
This directive isn't automatically set by compiletest or x.py, but can
be turned on manually for targets that require it.
Diffstat (limited to 'src/test/ui/binding')
-rw-r--r--src/test/ui/binding/fn-arg-incomplete-pattern-drop-order.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/binding/fn-arg-incomplete-pattern-drop-order.rs b/src/test/ui/binding/fn-arg-incomplete-pattern-drop-order.rs
index ea4a9e5afa5..684172ca61c 100644
--- a/src/test/ui/binding/fn-arg-incomplete-pattern-drop-order.rs
+++ b/src/test/ui/binding/fn-arg-incomplete-pattern-drop-order.rs
@@ -1,4 +1,5 @@
 // run-pass
+// needs-unwind
 // Check that partially moved from function parameters are dropped after the
 // named bindings that move from them.