Skip to content

Commit c495a73

Browse files
Resolve tuple field visibility FIXME
1 parent 4267c38 commit c495a73

File tree

1 file changed

+1
-1
lines changed
  • crates/ide_completion/src/completions

1 file changed

+1
-1
lines changed

crates/ide_completion/src/completions/dot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fn complete_fields(
6969
f(Either::Left(field), ty);
7070
}
7171
for (i, ty) in receiver.tuple_fields(ctx.db).into_iter().enumerate() {
72-
// FIXME: Handle visibility
72+
// Tuple fields are always public (tuple struct fields are handled above).
7373
f(Either::Right(i), ty);
7474
}
7575
}

0 commit comments

Comments
 (0)