diff options
| author | Jonathan Dönszelmann <jonathan@donsz.nl> | 2025-02-06 21:44:00 +0100 |
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-02-07 16:47:26 +0100 |
| commit | 9221e33766172b229559a2e3f44e9164963d8519 (patch) | |
| tree | 9cc05b0f6c4a788ca648e9e57b3a76a31b61ea1d /compiler/rustc_lint/src/passes.rs | |
| parent | cca89952a29beaf9909e5ab7aaa9ec8edde0c104 (diff) | |
| download | rust-9221e33766172b229559a2e3f44e9164963d8519.tar.gz rust-9221e33766172b229559a2e3f44e9164963d8519.zip | |
fix empty after lint on impl/trait items
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Diffstat (limited to 'compiler/rustc_lint/src/passes.rs')
| -rw-r--r-- | compiler/rustc_lint/src/passes.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/passes.rs b/compiler/rustc_lint/src/passes.rs index 77bd13aacf7..409a23d1da0 100644 --- a/compiler/rustc_lint/src/passes.rs +++ b/compiler/rustc_lint/src/passes.rs @@ -162,7 +162,9 @@ macro_rules! early_lint_methods { c: rustc_span::Span, d_: rustc_ast::NodeId); fn check_trait_item(a: &rustc_ast::AssocItem); + fn check_trait_item_post(a: &rustc_ast::AssocItem); fn check_impl_item(a: &rustc_ast::AssocItem); + fn check_impl_item_post(a: &rustc_ast::AssocItem); fn check_variant(a: &rustc_ast::Variant); fn check_attribute(a: &rustc_ast::Attribute); fn check_attributes(a: &[rustc_ast::Attribute]); |
