rustc: Remove dead code

This commit is contained in:
Tim Chevalier 2013-04-22 20:24:12 -07:00
parent aac73b24ae
commit 7169907e9f

View File

@ -4164,14 +4164,6 @@ pub fn lookup_struct_field(cx: ctxt,
}
}
fn is_public(f: field_ty) -> bool {
// XXX: This is wrong.
match f.vis {
public | inherited => true,
private => false
}
}
fn struct_field_tys(fields: &[@struct_field]) -> ~[field_ty] {
do fields.map |field| {
match field.node.kind {