about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--compiler/rustc_typeck/src/collect.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler/rustc_typeck/src/collect.rs b/compiler/rustc_typeck/src/collect.rs
index 3d0220bfd67..d26f3242048 100644
--- a/compiler/rustc_typeck/src/collect.rs
+++ b/compiler/rustc_typeck/src/collect.rs
@@ -172,7 +172,7 @@ crate fn placeholder_type_error(
     }
 
     let mut err = bad_placeholder_type(tcx, placeholder_types);
-    
+
     // Suggest, but only if it is not a function
     if suggest && !is_fn {
         err.multipart_suggestion(
@@ -202,11 +202,11 @@ fn reject_placeholder_type_signatures_in_item(tcx: TyCtxt<'tcx>, item: &'tcx hir
     visitor.visit_item(item);
 
     placeholder_type_error(
-        tcx, 
-        Some(generics.span), 
-        &generics.params[..], 
-        visitor.0, 
-        suggest, 
+        tcx,
+        Some(generics.span),
+        &generics.params[..],
+        visitor.0,
+        suggest,
         false
     );
 }