diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-25 14:24:08 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-25 15:02:55 +0000 |
| commit | 5f5dcaefe648390e2d5763c8f6480bba0ffb55bb (patch) | |
| tree | 7851f883ab3d547a601dd5e8585cffe583f5f66e /tests/ui/rust-2018/proc-macro-crate-in-paths.rs | |
| parent | 3733dcc72d3b8504ab812990b30e17bd5f0afd5b (diff) | |
| download | rust-5f5dcaefe648390e2d5763c8f6480bba0ffb55bb.tar.gz rust-5f5dcaefe648390e2d5763c8f6480bba0ffb55bb.zip | |
Add needs-unwind for proc macro tests
Rustc gives a warning when compiling proc macros with panic=abort.
Diffstat (limited to 'tests/ui/rust-2018/proc-macro-crate-in-paths.rs')
| -rw-r--r-- | tests/ui/rust-2018/proc-macro-crate-in-paths.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/rust-2018/proc-macro-crate-in-paths.rs b/tests/ui/rust-2018/proc-macro-crate-in-paths.rs index ce29fc51a4f..e5a4b7a9d5c 100644 --- a/tests/ui/rust-2018/proc-macro-crate-in-paths.rs +++ b/tests/ui/rust-2018/proc-macro-crate-in-paths.rs @@ -1,6 +1,7 @@ //@ build-pass (FIXME(62277): could be check-pass?) //@ force-host //@ no-prefer-dynamic +//@ needs-unwind compiling proc macros with panic=abort causes a warning #![crate_type = "proc-macro"] #![deny(rust_2018_compatibility)] |
