Skip to content

Commit 4d4563c

Browse files
committed
---
yaml --- r: 166879 b: refs/heads/master c: e55b793 h: refs/heads/master i: 166877: bd2a04f 166875: 06c11d6 166871: 2d4cbc6 166863: aa0e0a6 166847: 7ba53a4 v: v3
1 parent f8c5459 commit 4d4563c

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 35a6f6247ba930425b5ffb8e6f33fbbe1da278cc
2+
refs/heads/master: e55b793dddd6c1bfd7c273ebf5a67de7cc78d32e
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 023dfb0c898d851dee6ace2f8339b73b5287136b
55
refs/heads/try: f5d619caf9f32458680fae55526b99582ca682dd

trunk/src/librustc_trans/save/mod.rs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ impl <'l, 'tcx> DxrVisitor<'l, 'tcx> {
636636
item.id);
637637

638638
for field in struct_def.fields.iter() {
639-
self.process_struct_field_def(field, enum_name[], variant.node.id);
639+
self.process_struct_field_def(field, qualname[], variant.node.id);
640640
self.visit_ty(&*field.node.ty);
641641
}
642642
}
@@ -1422,8 +1422,7 @@ impl<'l, 'tcx, 'v> Visitor<'v> for DxrVisitor<'l, 'tcx> {
14221422
let def_map = self.analysis.ty_cx.def_map.borrow();
14231423
if !def_map.contains_key(&id) {
14241424
self.sess.span_bug(p.span,
1425-
format!("def_map has no key for {} in visit_arm",
1426-
id)[]);
1425+
format!("def_map has no key for {} in visit_arm", id)[]);
14271426
}
14281427
let def = &(*def_map)[id];
14291428
match *def {
@@ -1433,16 +1432,15 @@ impl<'l, 'tcx, 'v> Visitor<'v> for DxrVisitor<'l, 'tcx> {
14331432
path_to_string(p)[],
14341433
value[],
14351434
""),
1436-
def::DefVariant(_,id,_) => self.fmt.ref_str(ref_kind,
1437-
p.span,
1438-
sub_span,
1439-
id,
1440-
self.cur_scope),
1435+
def::DefVariant(_, id ,_) => self.fmt.ref_str(ref_kind,
1436+
p.span,
1437+
sub_span,
1438+
id,
1439+
self.cur_scope),
14411440
// FIXME(nrc) what is this doing here?
14421441
def::DefStatic(_, _) => {}
14431442
def::DefConst(..) => {}
1444-
_ => error!("unexpected definition kind when processing collected paths: {}",
1445-
*def)
1443+
_ => error!("unexpected definition kind when processing collected paths: {}", *def)
14461444
}
14471445
}
14481446
self.collected_paths.clear();

0 commit comments

Comments
 (0)