Skip to content

Commit 85c085e

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 167501 b: refs/heads/snap-stage3 c: e9ddd82 h: refs/heads/master i: 167499: 42d5f70 v: v3
1 parent 4d42d5e commit 85c085e

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 023dfb0c898d851dee6ace2f8339b73b5287136b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: e47035b9a58e4dd0cda075928bb93df0b7b25372
4+
refs/heads/snap-stage3: e9ddd825ba7c93a0c75ce25819ac596b835e9332
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/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/snap-stage3/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)