diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-09-12 13:50:18 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-09-12 14:05:54 +1000 |
| commit | b8ed1c5745ab2fe80b216b00cd68def6d2a2aae9 (patch) | |
| tree | 56d2b2f7825f90b9ec9f17d68fcfeb9a6309f6df /compiler/rustc_lint/src/passes.rs | |
| parent | 7e3fd33a6652bc66b7e7cea0857f88e1c3b7985b (diff) | |
| download | rust-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.rs | 2 |
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 |
