diff options
| author | Eric Huss <eric@huss.org> | 2024-11-24 17:37:25 -0800 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2024-11-27 07:18:25 -0800 |
| commit | f94142b366f9bc57c15e9ac274f83d0f9c03ffac (patch) | |
| tree | e1f4e41efc3307e29c6098985f225f0522044dca /tests/ui/diagnostic_namespace | |
| parent | f592dd95dbfc892c1153af67e0ab5b4e593d33e7 (diff) | |
| download | rust-f94142b366f9bc57c15e9ac274f83d0f9c03ffac.tar.gz rust-f94142b366f9bc57c15e9ac274f83d0f9c03ffac.zip | |
Update tests to use new proc-macro header
Diffstat (limited to 'tests/ui/diagnostic_namespace')
| -rw-r--r-- | tests/ui/diagnostic_namespace/auxiliary/proc-macro-helper.rs | 4 | ||||
| -rw-r--r-- | tests/ui/diagnostic_namespace/existing_proc_macros.rs | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/tests/ui/diagnostic_namespace/auxiliary/proc-macro-helper.rs b/tests/ui/diagnostic_namespace/auxiliary/proc-macro-helper.rs index 4edae48923a..3fe84317d70 100644 --- a/tests/ui/diagnostic_namespace/auxiliary/proc-macro-helper.rs +++ b/tests/ui/diagnostic_namespace/auxiliary/proc-macro-helper.rs @@ -1,7 +1,3 @@ -//@ force-host -//@ no-prefer-dynamic -#![crate_type = "proc-macro"] - extern crate proc_macro; use proc_macro::TokenStream; diff --git a/tests/ui/diagnostic_namespace/existing_proc_macros.rs b/tests/ui/diagnostic_namespace/existing_proc_macros.rs index 014ec46f1b9..55b6b0ab441 100644 --- a/tests/ui/diagnostic_namespace/existing_proc_macros.rs +++ b/tests/ui/diagnostic_namespace/existing_proc_macros.rs @@ -1,5 +1,5 @@ //@ check-pass -//@ aux-build:proc-macro-helper.rs +//@ proc-macro: proc-macro-helper.rs extern crate proc_macro_helper; |
