Skip to content

Commit

Permalink
Add force-host to test aux file used by proc-macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Jun 30, 2020
1 parent a7c408d commit 37a48fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/test/ui/proc-macro/auxiliary/make-macro.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// force-host

#[macro_export]
macro_rules! make_it {
($name:ident) => {
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/proc-macro/meta-macro-hygiene.stdout
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Def site: $DIR/auxiliary/make-macro.rs:5:9: 8:10 (#3)
Def site: $DIR/auxiliary/make-macro.rs:7:9: 10:10 (#3)
#![feature /* 0#0 */(prelude_import)]
#[prelude_import /* 0#1 */]
use std /* 0#1 */::prelude /* 0#1 */::v1 /* 0#1 */::*;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/proc-macro/meta-macro.stdout
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Def site: $DIR/auxiliary/make-macro.rs:5:9: 8:10 (#3)
Def site: $DIR/auxiliary/make-macro.rs:7:9: 10:10 (#3)

0 comments on commit 37a48fa

Please sign in to comment.