Unnamed repository; edit this file 'description' to name the repository.
Remove fixme and add a missing test attribute
| -rw-r--r-- | crates/hir-def/src/expr_store/lower.rs | 1 | ||||
| -rw-r--r-- | crates/hir-def/src/expr_store/tests.rs | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-def/src/expr_store/lower.rs b/crates/hir-def/src/expr_store/lower.rs index e4fcf949d9..2be7b9963b 100644 --- a/crates/hir-def/src/expr_store/lower.rs +++ b/crates/hir-def/src/expr_store/lower.rs @@ -1789,7 +1789,6 @@ impl ExprCollector<'_> { } None => Pat::Missing, }, - // FIXME: implement in a way that also builds source map and calculates assoc resolutions in type inference. ast::Pat::RangePat(p) => { let mut range_part_lower = |p: Option<ast::Pat>| -> Option<ExprId> { p.and_then(|it| { diff --git a/crates/hir-def/src/expr_store/tests.rs b/crates/hir-def/src/expr_store/tests.rs index b84043af68..16bf46d3e3 100644 --- a/crates/hir-def/src/expr_store/tests.rs +++ b/crates/hir-def/src/expr_store/tests.rs @@ -445,6 +445,7 @@ fn foo() { ); } +#[test] fn skip_skips_body() { let (db, body, owner) = lower( r#" |