Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/mir/lower/pattern_matching.rs')
-rw-r--r--crates/hir-ty/src/mir/lower/pattern_matching.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/hir-ty/src/mir/lower/pattern_matching.rs b/crates/hir-ty/src/mir/lower/pattern_matching.rs
index 2ffea34c85..d78d15288a 100644
--- a/crates/hir-ty/src/mir/lower/pattern_matching.rs
+++ b/crates/hir-ty/src/mir/lower/pattern_matching.rs
@@ -234,10 +234,12 @@ impl MirLowerCtx<'_> {
};
if mode == MatchingMode::Check {
if let Some(start) = start {
- add_check(start, BinOp::Le)?;
+ // TODO
+ // add_check(start, BinOp::Le)?;
}
if let Some(end) = end {
- add_check(end, BinOp::Ge)?;
+ // TODO
+ // add_check(end, BinOp::Ge)?;
}
}
(current, current_else)