Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-db/src/syntax_helpers/node_ext.rs')
-rw-r--r--crates/ide-db/src/syntax_helpers/node_ext.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/ide-db/src/syntax_helpers/node_ext.rs b/crates/ide-db/src/syntax_helpers/node_ext.rs
index 11ba815dab..e30b21c139 100644
--- a/crates/ide-db/src/syntax_helpers/node_ext.rs
+++ b/crates/ide-db/src/syntax_helpers/node_ext.rs
@@ -216,12 +216,7 @@ pub fn walk_ty(ty: &ast::Type, cb: &mut dyn FnMut(ast::Type) -> bool) {
preorder.skip_subtree();
cb(ty);
}
- Some(ty) =>
- {
- #[expect(
- clippy::collapsible_match,
- reason = "it won't compile due to exhaustiveness"
- )]
+ Some(ty) => {
if cb(ty) {
preorder.skip_subtree();
}