Skip to content

Commit 0c9dfdf

Browse files
Convert BoxPat to Missing in HIR
1 parent 661fbd2 commit 0c9dfdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ra_hir/src/expr.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,7 @@ where
10201020
}
10211021

10221022
// FIXME: implement
1023+
ast::Pat::BoxPat(_) => Pat::Missing,
10231024
ast::Pat::LiteralPat(_) => Pat::Missing,
10241025
ast::Pat::SlicePat(_) | ast::Pat::RangePat(_) => Pat::Missing,
10251026
};

0 commit comments

Comments
 (0)