We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac73b2 commit 7169907Copy full SHA for 7169907
src/librustc/middle/ty.rs
@@ -4164,14 +4164,6 @@ pub fn lookup_struct_field(cx: ctxt,
4164
}
4165
4166
4167
-fn is_public(f: field_ty) -> bool {
4168
- // XXX: This is wrong.
4169
- match f.vis {
4170
- public | inherited => true,
4171
- private => false
4172
- }
4173
-}
4174
-
4175
fn struct_field_tys(fields: &[@struct_field]) -> ~[field_ty] {
4176
do fields.map |field| {
4177
match field.node.kind {
0 commit comments