diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2021-04-29 17:04:16 +0000 |
|---|---|---|
| committer | Tyler Mandry <tmandry@gmail.com> | 2021-05-06 02:49:34 +0000 |
| commit | e1a8ecf771485d517010c66b8532c39635725813 (patch) | |
| tree | f57d6992ee1c5742f9dd051f4e76af1afbd336db /src/test/ui/panic-handler | |
| parent | 568d9c5547c275de2b1533bc7dd8d3d018b17bec (diff) | |
| download | rust-e1a8ecf771485d517010c66b8532c39635725813.tar.gz rust-e1a8ecf771485d517010c66b8532c39635725813.zip | |
Add needs-unwind to tests
Diffstat (limited to 'src/test/ui/panic-handler')
| -rw-r--r-- | src/test/ui/panic-handler/weak-lang-item.rs | 1 | ||||
| -rw-r--r-- | src/test/ui/panic-handler/weak-lang-item.stderr | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/test/ui/panic-handler/weak-lang-item.rs b/src/test/ui/panic-handler/weak-lang-item.rs index 3fa3822831b..df31e614cf8 100644 --- a/src/test/ui/panic-handler/weak-lang-item.rs +++ b/src/test/ui/panic-handler/weak-lang-item.rs @@ -1,6 +1,7 @@ // aux-build:weak-lang-items.rs // error-pattern: `#[panic_handler]` function required, but not found // error-pattern: language item required, but not found: `eh_personality` +// needs-unwind since it affects the error output // ignore-emscripten compiled with panic=abort, personality not required #![no_std] diff --git a/src/test/ui/panic-handler/weak-lang-item.stderr b/src/test/ui/panic-handler/weak-lang-item.stderr index 68e3e21df3e..1f14b20e451 100644 --- a/src/test/ui/panic-handler/weak-lang-item.stderr +++ b/src/test/ui/panic-handler/weak-lang-item.stderr @@ -1,5 +1,5 @@ error[E0259]: the name `core` is defined multiple times - --> $DIR/weak-lang-item.rs:8:1 + --> $DIR/weak-lang-item.rs:9:1 | LL | extern crate core; | ^^^^^^^^^^^^^^^^^^ `core` reimported here |
