Skip to content

Commit 5672076

Browse files
committed
[EXPERIMENTAL] when does want-abort-got-unwind.rs emit different errors?
1 parent bd0111f commit 5672076

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// ignore-tidy-linelength
22
//@ build-fail
3-
//@ dont-require-annotations: ERROR
43
//@ dont-check-compiler-stderr
54
//@ aux-build:panic-runtime-unwind.rs
65
//@ compile-flags:-C panic=abort
@@ -10,7 +9,5 @@ extern crate panic_runtime_unwind;
109
fn main() {}
1110

1211
//~? ERROR the linked panic runtime `panic_runtime_unwind` is not compiled with this crate's panic strategy `abort`
13-
// FIXME: These errors are target-dependent, could be served by some "optional error" annotation
14-
// instead of `dont-require-annotations`.
15-
//FIXME~? ERROR cannot link together two panic runtimes: panic_unwind and panic_runtime_unwind
16-
//FIXME~? ERROR the crate `panic_unwind` requires panic strategy `unwind` which is incompatible with this crate's strategy of `abort`
12+
//~? ERROR cannot link together two panic runtimes: panic_unwind and panic_runtime_unwind
13+
//~? ERROR the crate `panic_unwind` requires panic strategy `unwind` which is incompatible with this crate's strategy of `abort`

0 commit comments

Comments
 (0)