Skip to content

Commit 1a40e60

Browse files
---
yaml --- r: 274835 b: refs/heads/stable c: 53b7464 h: refs/heads/master i: 274833: 193315f 274831: 731a597
1 parent 8da504a commit 1a40e60

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 003879ccaa2c290fad32e870576346ba635291d3
32+
refs/heads/stable: 53b7464e678395b5bc503d0855bfb29d0ac4ab8b
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/librustc_mir/build/scope.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ impl<'a,'tcx> Builder<'a,'tcx> {
488488
let funcdid = match self.hir.tcx().lang_items.require(lang_item) {
489489
Ok(d) => d,
490490
Err(m) => {
491-
self.hir.tcx().sess.fatal(&*m)
491+
self.hir.tcx().sess.fatal(&m)
492492
}
493493
};
494494
Constant {

branches/stable/src/librustc_mir/hair/cx/expr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl<'tcx> Mirror<'tcx> for &'tcx hir::Expr {
114114
}
115115

116116
hir::ExprBlock(ref blk) => {
117-
ExprKind::Block { body: &**blk }
117+
ExprKind::Block { body: &blk }
118118
}
119119

120120
hir::ExprAssign(ref lhs, ref rhs) => {
@@ -277,7 +277,7 @@ impl<'tcx> Mirror<'tcx> for &'tcx hir::Expr {
277277
});
278278
ExprKind::Closure {
279279
closure_id: def_id,
280-
substs: &**substs,
280+
substs: &substs,
281281
upvars: upvars,
282282
}
283283
}

branches/stable/src/librustc_mir/hair/cx/pattern.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl<'patcx, 'cx, 'tcx> PatCx<'patcx, 'cx, 'tcx> {
9090
Some(const_expr) => {
9191
let pat = const_eval::const_expr_to_pat(self.cx.tcx, const_expr,
9292
pat.span);
93-
return self.to_pattern(&*pat);
93+
return self.to_pattern(&pat);
9494
}
9595
None => {
9696
self.cx.tcx.sess.span_bug(

0 commit comments

Comments
 (0)