We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b176cf2 commit 0adb4d1Copy full SHA for 0adb4d1
Cargo.toml
@@ -181,7 +181,6 @@ non_canonical_partial_ord_impl = "allow"
181
self_named_constructors = "allow"
182
too_many_arguments = "allow"
183
type_complexity = "allow"
184
-wildcard_in_or_patterns = "allow"
185
wrong_self_convention = "allow"
186
187
## warn at following lints
crates/hir-ty/src/inhabitedness.rs
@@ -84,8 +84,7 @@ impl TypeVisitor<Interner> for UninhabitedFrom<'_> {
84
Some(0) | None => CONTINUE_OPAQUELY_INHABITED,
85
Some(1..) => item_ty.super_visit_with(self, outer_binder),
86
},
87
-
88
- TyKind::Ref(..) | _ => CONTINUE_OPAQUELY_INHABITED,
+ _ => CONTINUE_OPAQUELY_INHABITED,
89
};
90
self.recursive_ty.remove(ty);
91
self.max_depth += 1;
0 commit comments