Skip to content

Commit 2b90fb4

Browse files
committed
---
yaml --- r: 183481 b: refs/heads/beta c: eec3b43 h: refs/heads/master i: 183479: 5cbd079 v: v3
1 parent 7516c14 commit 2b90fb4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 21fb420592bd4ee03e81efe7b2dbd7115e790e3a
34+
refs/heads/beta: eec3b431aa30ab6160dcc93b7bf7f654ba9dc6ea
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: eb836bf767aa1d8d4cba488a9091cde3c0ab4b2f

branches/beta/src/librustc_typeck/check/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3635,7 +3635,8 @@ fn check_expr_with_unifier<'a, 'tcx, F>(fcx: &FnCtxt<'a, 'tcx>,
36353635
let (scheme, predicates) = type_scheme_and_predicates_for_def(fcx, expr.span, defn);
36363636
let mut path = qpath.trait_ref.path.clone();
36373637
path.segments.push(qpath.item_path.clone());
3638-
instantiate_path(fcx, &path, scheme, &predicates, Some(self_ty), defn, expr.span, expr.id);
3638+
instantiate_path(fcx, &path, scheme, &predicates, Some(self_ty),
3639+
defn, expr.span, expr.id);
36393640

36403641
// We always require that the type provided as the value for
36413642
// a type parameter outlives the moment of instantiation.

0 commit comments

Comments
 (0)