about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/passes.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-09-12 13:50:18 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-09-12 14:05:54 +1000
commitb8ed1c5745ab2fe80b216b00cd68def6d2a2aae9 (patch)
tree56d2b2f7825f90b9ec9f17d68fcfeb9a6309f6df /compiler/rustc_lint/src/passes.rs
parent7e3fd33a6652bc66b7e7cea0857f88e1c3b7985b (diff)
downloadrust-b8ed1c5745ab2fe80b216b00cd68def6d2a2aae9.tar.gz
rust-b8ed1c5745ab2fe80b216b00cd68def6d2a2aae9.zip
Remove unused argument from `check_mac_def`.
Diffstat (limited to 'compiler/rustc_lint/src/passes.rs')
-rw-r--r--compiler/rustc_lint/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/passes.rs b/compiler/rustc_lint/src/passes.rs
index 57732741a33..1c6a057d1a8 100644
--- a/compiler/rustc_lint/src/passes.rs
+++ b/compiler/rustc_lint/src/passes.rs
@@ -162,7 +162,7 @@ macro_rules! early_lint_methods {
             fn check_impl_item(a: &ast::AssocItem);
             fn check_variant(a: &ast::Variant);
             fn check_attribute(a: &ast::Attribute);
-            fn check_mac_def(a: &ast::MacroDef, b: ast::NodeId);
+            fn check_mac_def(a: &ast::MacroDef);
             fn check_mac(a: &ast::MacCall);
 
             /// Called when entering a syntax node that can have lint attributes such