Skip to content

Commit 561f478

Browse files
committed
---
yaml --- r: 171215 b: refs/heads/batch c: 7ee5863 h: refs/heads/master i: 171213: 3cfbb93 171211: 8d72e9e 171207: 35b2582 171199: 8e80e1a v: v3
1 parent 46921f5 commit 561f478

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: 9989288438e979ea256fa746e2fe3f7cdc00b001
32+
refs/heads/batch: 7ee58632023c4941408264eeef34a68277773408
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 496dc4eae7de9d14cd49511a9acfbf5f11ae6c3f
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/batch/src/librustc_typeck/collect.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ impl<'a, 'tcx> AstConv<'tcx> for CollectCtxt<'a, 'tcx> {
160160
}
161161

162162
match self.tcx.map.find(id.node) {
163-
Some(ast_map::NodeItem(item)) => ty_of_item(self, &*item),
163+
Some(ast_map::NodeItem(item)) => {
164+
ty_of_item(self, &*item)
165+
}
164166
Some(ast_map::NodeForeignItem(foreign_item)) => {
165167
let abi = self.tcx.map.get_foreign_abi(id.node);
166168
ty_of_foreign_item(self, &*foreign_item, abi)
@@ -819,8 +821,8 @@ fn get_trait_def<'a, 'tcx>(ccx: &CollectCtxt<'a, 'tcx>,
819821
}
820822

821823
fn trait_def_of_item<'a, 'tcx>(ccx: &CollectCtxt<'a, 'tcx>,
822-
it: &ast::Item)
823-
-> Rc<ty::TraitDef<'tcx>>
824+
it: &ast::Item)
825+
-> Rc<ty::TraitDef<'tcx>>
824826
{
825827
let def_id = local_def(it.id);
826828
let tcx = ccx.tcx;

0 commit comments

Comments
 (0)