Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f94142b

Browse files
committed
Update tests to use new proc-macro header
1 parent f592dd9 commit f94142b

File tree

399 files changed

+425
-1084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

399 files changed

+425
-1084
lines changed

tests/codegen/debuginfo-proc-macro/auxiliary/macro_def.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
//@ force-host
2-
//@ no-prefer-dynamic
3-
#![crate_type = "proc-macro"]
4-
51
extern crate proc_macro;
62
use proc_macro::*;
73

tests/codegen/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// MSVC is different because of the individual allocas.
44
//@ ignore-msvc
55

6-
//@ aux-build:macro_def.rs
6+
//@ proc-macro: macro_def.rs
77

88
// Find the variable.
99
// CHECK-DAG: ![[#var_dbg:]] = !DILocalVariable(name: "n",{{( arg: 1,)?}} scope: ![[#var_scope:]]

tests/incremental/auxiliary/incremental_proc_macro_aux.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
//@ force-host
2-
//@ no-prefer-dynamic
3-
4-
#![crate_type = "proc-macro"]
5-
61
extern crate proc_macro;
72

83
use proc_macro::TokenStream;

tests/incremental/auxiliary/issue-49482-macro-def.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
//@ force-host
2-
//@ no-prefer-dynamic
3-
4-
#![crate_type="proc-macro"]
51
#![allow(non_snake_case)]
62

73
extern crate proc_macro;

tests/incremental/auxiliary/issue-49482-reexport.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//@ proc-macro: issue-49482-macro-def.rs
12
#[macro_use]
23
extern crate issue_49482_macro_def;
34

tests/incremental/auxiliary/issue-54059.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
//@ force-host
2-
//@ no-prefer-dynamic
3-
41
// check that having extern "C" functions in a proc macro doesn't crash.
52

6-
#![crate_type="proc-macro"]
73
#![allow(non_snake_case)]
84

95
extern crate proc_macro;

tests/incremental/incremental_proc_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ aux-build:incremental_proc_macro_aux.rs
1+
//@ proc-macro: incremental_proc_macro_aux.rs
22
//@ revisions: cfail1 cfail2
33
//@ build-pass (FIXME(62277): could be check-pass?)
44

tests/incremental/issue-110457-same-span-closures/auxiliary/egui_inspect_derive.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
//@ force-host
2-
//@ no-prefer-dynamic
3-
#![crate_type = "proc-macro"]
4-
51
extern crate proc_macro;
62

73
use proc_macro::{Delimiter, Group, Ident, Literal, Punct, Spacing, Span, TokenStream, TokenTree};

tests/incremental/issue-110457-same-span-closures/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ aux-build: egui_inspect_derive.rs
1+
//@ proc-macro: egui_inspect_derive.rs
22
//@ revisions: cpass1 cpass2
33

44
extern crate egui_inspect_derive;

tests/incremental/issue-49482.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//@ aux-build:issue-49482-macro-def.rs
21
//@ aux-build:issue-49482-reexport.rs
32
//@ revisions: rpass1
43

0 commit comments

Comments
 (0)