diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-02-11 11:54:30 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-02-12 13:29:52 -0500 |
| commit | eec3b431aa30ab6160dcc93b7bf7f654ba9dc6ea (patch) | |
| tree | 802697e8daefef0ce35620cb66551d6f18fed532 /src | |
| parent | 21fb420592bd4ee03e81efe7b2dbd7115e790e3a (diff) | |
| download | rust-eec3b431aa30ab6160dcc93b7bf7f654ba9dc6ea.tar.gz rust-eec3b431aa30ab6160dcc93b7bf7f654ba9dc6ea.zip | |
Pacify the mercilous tidy.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/check/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs index 00bc3375fdd..d12b23187b8 100644 --- a/src/librustc_typeck/check/mod.rs +++ b/src/librustc_typeck/check/mod.rs @@ -3635,7 +3635,8 @@ fn check_expr_with_unifier<'a, 'tcx, F>(fcx: &FnCtxt<'a, 'tcx>, let (scheme, predicates) = type_scheme_and_predicates_for_def(fcx, expr.span, defn); let mut path = qpath.trait_ref.path.clone(); path.segments.push(qpath.item_path.clone()); - instantiate_path(fcx, &path, scheme, &predicates, Some(self_ty), defn, expr.span, expr.id); + instantiate_path(fcx, &path, scheme, &predicates, Some(self_ty), + defn, expr.span, expr.id); // We always require that the type provided as the value for // a type parameter outlives the moment of instantiation. |
