We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ebe2484 + d5d270e commit c5cdf74Copy full SHA for c5cdf74
src/lib.rs
@@ -7,7 +7,7 @@
7
#![feature(int_log)]
8
#![feature(variant_count)]
9
#![feature(yeet_expr)]
10
-#![feature(is_some_with)]
+#![feature(is_some_and)]
11
#![feature(nonzero_ops)]
12
#![feature(local_key_cell_methods)]
13
#![cfg_attr(bootstrap, feature(let_else))]
src/stacked_borrows/stack.rs
@@ -211,7 +211,7 @@ impl<'tcx> Stack {
211
}
212
213
// Couldn't find it in the stack; but if there is an unknown bottom it might be there.
214
- let found = self.unknown_bottom.is_some_and(|&unknown_limit| {
+ let found = self.unknown_bottom.is_some_and(|unknown_limit| {
215
tag.0 < unknown_limit.0 // unknown_limit is an upper bound for what can be in the unknown bottom.
216
});
217
if found { Ok(None) } else { Err(()) }
0 commit comments