This commit is contained in:
Lukas Wirth 2025-01-01 15:21:49 +01:00
parent 5303dc5d99
commit 1adc805dfa
2 changed files with 46 additions and 68 deletions

View file

@ -30,7 +30,6 @@ where
ControlFlow::Continue(())
}
#[allow(unstable_name_collisions)] // FIXME: Remove this when `is_none_or()` reaches stable.
fn on_trait_item(&mut self, item: hir::AssocItem) -> ControlFlow<()> {
// The excluded check needs to come before the `seen` test, so that if we see the same method twice,
// once as inherent and once not, we will include it.