about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-01-07 02:04:10 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-01-07 02:04:10 +0900
commit65d15340cd1f53b823d7c68333bc91f6c519be0b (patch)
treee25a2de1840fb168a21f4797fa465380c8d9ceef
parentce36335cf038ce0597b2a071ccb43bd8974cdedc (diff)
downloadrust-65d15340cd1f53b823d7c68333bc91f6c519be0b.tar.gz
rust-65d15340cd1f53b823d7c68333bc91f6c519be0b.zip
Fix test again
-rw-r--r--tests/ui/outer_expn_data.fixed1
-rw-r--r--tests/ui/outer_expn_data.rs1
-rw-r--r--tests/ui/outer_expn_data.stderr2
3 files changed, 1 insertions, 3 deletions
diff --git a/tests/ui/outer_expn_data.fixed b/tests/ui/outer_expn_data.fixed
index 587c20409e4..070279e8279 100644
--- a/tests/ui/outer_expn_data.fixed
+++ b/tests/ui/outer_expn_data.fixed
@@ -5,7 +5,6 @@
 
 #[macro_use]
 extern crate rustc;
-#[macro_use]
 extern crate rustc_hir;
 #[macro_use]
 extern crate rustc_session;
diff --git a/tests/ui/outer_expn_data.rs b/tests/ui/outer_expn_data.rs
index c8ff4806d12..5e173e7fd99 100644
--- a/tests/ui/outer_expn_data.rs
+++ b/tests/ui/outer_expn_data.rs
@@ -5,7 +5,6 @@
 
 #[macro_use]
 extern crate rustc;
-#[macro_use]
 extern crate rustc_hir;
 #[macro_use]
 extern crate rustc_session;
diff --git a/tests/ui/outer_expn_data.stderr b/tests/ui/outer_expn_data.stderr
index 4a8e7353d1c..8d10d31d8a6 100644
--- a/tests/ui/outer_expn_data.stderr
+++ b/tests/ui/outer_expn_data.stderr
@@ -1,5 +1,5 @@
 error: usage of `outer_expn().expn_data()`
-  --> $DIR/outer_expn_data.rs:25:34
+  --> $DIR/outer_expn_data.rs:24:34
    |
 LL |         let _ = expr.span.ctxt().outer_expn().expn_data();
    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `outer_expn_data()`