Skip to content

Commit 2f73ecd

Browse files
committed
misc: import macros explicitly
1 parent 4c0913e commit 2f73ecd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/ptr_as_ptr.fixed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
#![warn(clippy::ptr_as_ptr)]
44

5-
#[macro_use]
65
extern crate proc_macros;
6+
use proc_macros::{external, inline_macros};
77

88
mod issue_11278_a {
99
#[derive(Debug)]

tests/ui/ptr_as_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
#![warn(clippy::ptr_as_ptr)]
44

5-
#[macro_use]
65
extern crate proc_macros;
6+
use proc_macros::{external, inline_macros};
77

88
mod issue_11278_a {
99
#[derive(Debug)]

0 commit comments

Comments
 (0)