Skip to content

Commit fcc7968

Browse files
committed
Remove fixme and add a missing test attribute
1 parent 0d544cf commit fcc7968

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/hir-def/src/expr_store/lower.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,6 @@ impl ExprCollector<'_> {
17891789
}
17901790
None => Pat::Missing,
17911791
},
1792-
// FIXME: implement in a way that also builds source map and calculates assoc resolutions in type inference.
17931792
ast::Pat::RangePat(p) => {
17941793
let mut range_part_lower = |p: Option<ast::Pat>| -> Option<ExprId> {
17951794
p.and_then(|it| {

src/tools/rust-analyzer/crates/hir-def/src/expr_store/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ fn foo() {
445445
);
446446
}
447447

448+
#[test]
448449
fn skip_skips_body() {
449450
let (db, body, owner) = lower(
450451
r#"

0 commit comments

Comments
 (0)