Skip to content

Commit c95a442

Browse files
committed
---
yaml --- r: 20786 b: refs/heads/snap-stage3 c: d747cd7 h: refs/heads/master v: v3
1 parent d83c5c2 commit c95a442

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 91bd2910090aa5f80fd3ff401e891aa19286a474
4+
refs/heads/snap-stage3: d747cd724ed3cf19d3daf8a46f7726db888da844
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/rustc/middle/typeck/collect.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,10 @@ fn check_methods_against_trait(ccx: @crate_ctxt,
278278
} // |if_m|
279279
} // fn
280280

281-
fn convert_class_item(ccx: @crate_ctxt,
282-
rp: bool,
283-
bounds: @~[ty::param_bounds],
284-
v: ast_util::ivar) {
281+
fn convert_field(ccx: @crate_ctxt,
282+
rp: bool,
283+
bounds: @~[ty::param_bounds],
284+
v: ast_util::ivar) {
285285
let tt = ccx.to_ty(type_rscope(rp), v.ty);
286286
write_ty_to_tcx(ccx.tcx, v.id, tt);
287287
/* add the field to the tcache */
@@ -391,7 +391,7 @@ fn convert(ccx: @crate_ctxt, it: @ast::item) {
391391
// Write the type of each of the members
392392
let (fields, methods) = split_class_items(members);
393393
for fields.each |f| {
394-
convert_class_item(ccx, rp, tpt.bounds, f);
394+
convert_field(ccx, rp, tpt.bounds, f);
395395
}
396396
let {bounds, substs} = mk_substs(ccx, tps, rp);
397397
let selfty = ty::mk_class(tcx, local_def(it.id), substs);

0 commit comments

Comments
 (0)