Resolve tuple field visibility FIXME

This commit is contained in:
Jonas Schievink 2021-07-23 20:20:41 +02:00
parent 4267c38db1
commit c495a7374f

View file

@ -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);
}
}