]> git.lizzy.rs Git - rust.git/commitdiff
Pacify the mercilous tidy.
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 11 Feb 2015 16:54:30 +0000 (11:54 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Thu, 12 Feb 2015 18:29:52 +0000 (13:29 -0500)
src/librustc_typeck/check/mod.rs

index 00bc3375fdd9f954bdea76576ac8575e37d57c5f..d12b23187b80b0498036b11b9f68598f9c4edc85 100644 (file)
@@ -3635,7 +3635,8 @@ fn check_struct_fields_on_error<'a,'tcx>(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.