File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
trunk/src/librustc/middle Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: aac73b24ae98b92489a5d175fb04c4aed24d8991
2
+ refs/heads/master: 7169907e9f2b0c335b20251c7b4e2aaeb59091d8
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 79a2b2eafc3c766cecec8a5f76317693bae9ed17
5
5
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
Original file line number Diff line number Diff line change @@ -4164,14 +4164,6 @@ pub fn lookup_struct_field(cx: ctxt,
4164
4164
}
4165
4165
}
4166
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
4167
fn struct_field_tys(fields: &[@struct_field]) -> ~[field_ty] {
4176
4168
do fields.map |field| {
4177
4169
match field.node.kind {
You can’t perform that action at this time.
0 commit comments