diff options
| author | Ada Alakbarova <ada.alakbarova@proton.me> | 2025-08-13 11:54:30 +0200 |
|---|---|---|
| committer | Ada Alakbarova <ada.alakbarova@proton.me> | 2025-08-13 19:35:32 +0200 |
| commit | e19a11f3ac79f7e2dc60f7435c1b327b375f4788 (patch) | |
| tree | 07c9d7a3b9d2ea0bd666af2b38d8231ec6651a67 | |
| parent | bc0e43c0f2f76796066e4ec8335b44c00eefbc00 (diff) | |
| download | rust-e19a11f3ac79f7e2dc60f7435c1b327b375f4788.tar.gz rust-e19a11f3ac79f7e2dc60f7435c1b327b375f4788.zip | |
misc: import macros explicitly
| -rw-r--r-- | tests/ui/ptr_as_ptr.fixed | 2 | ||||
| -rw-r--r-- | tests/ui/ptr_as_ptr.rs | 2 |
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)] |
