mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Resolve tuple field visibility FIXME
This commit is contained in:
parent
4267c38db1
commit
c495a7374f
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ fn complete_fields(
|
|||
f(Either::Left(field), ty);
|
||||
}
|
||||
for (i, ty) in receiver.tuple_fields(ctx.db).into_iter().enumerate() {
|
||||
// FIXME: Handle visibility
|
||||
// Tuple fields are always public (tuple struct fields are handled above).
|
||||
f(Either::Right(i), ty);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue