about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/ui/ptr_as_ptr.fixed2
-rw-r--r--tests/ui/ptr_as_ptr.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/ptr_as_ptr.fixed b/tests/ui/ptr_as_ptr.fixed
index 71fea6144e7..ed6bfe26e52 100644
--- a/tests/ui/ptr_as_ptr.fixed
+++ b/tests/ui/ptr_as_ptr.fixed
@@ -2,8 +2,8 @@
 
 #![warn(clippy::ptr_as_ptr)]
 
-#[macro_use]
 extern crate proc_macros;
+use proc_macros::{external, inline_macros};
 
 mod issue_11278_a {
     #[derive(Debug)]
diff --git a/tests/ui/ptr_as_ptr.rs b/tests/ui/ptr_as_ptr.rs
index 4d507592a1e..56b76299dbd 100644
--- a/tests/ui/ptr_as_ptr.rs
+++ b/tests/ui/ptr_as_ptr.rs
@@ -2,8 +2,8 @@
 
 #![warn(clippy::ptr_as_ptr)]
 
-#[macro_use]
 extern crate proc_macros;
+use proc_macros::{external, inline_macros};
 
 mod issue_11278_a {
     #[derive(Debug)]