Skip to content

Commit 5d879fc

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 170475 b: refs/heads/try c: e9ddd82 h: refs/heads/master i: 170473: 0adc9cc 170471: e2da58d v: v3
1 parent 3a989c3 commit 5d879fc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 73a25f55ad748b4d3516417c711b99ce446591af
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5-
refs/heads/try: e47035b9a58e4dd0cda075928bb93df0b7b25372
5+
refs/heads/try: e9ddd825ba7c93a0c75ce25819ac596b835e9332
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/librustc_typeck/check/vtable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ fn check_object_safety_inner<'tcx>(tcx: &ty::ctxt<'tcx>,
223223
}
224224

225225
// reason (a) above
226-
let check_for_self_ty = |ty| {
226+
let check_for_self_ty = |&: ty| {
227227
if contains_illegal_self_type_reference(tcx, object_trait.def_id(), ty) {
228228
Some(format!(
229229
"cannot call a method (`{}`) whose type contains \

branches/try/src/librustc_typeck/variance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ impl<'a, 'tcx> ConstraintContext<'a, 'tcx> {
593593
// parameter (by inspecting parent of its binding declaration
594594
// to see if it is introduced by a type or by a fn/impl).
595595

596-
let check_result = |this:&ConstraintContext| -> bool {
596+
let check_result = |&: this:&ConstraintContext| -> bool {
597597
let tcx = this.terms_cx.tcx;
598598
let decl_id = this.find_binding_for_lifetime(param_id);
599599
// Currently only called on lifetimes; double-checking that.

0 commit comments

Comments
 (0)