Fixing codestyle
This commit is contained in:
parent
09d5d0766e
commit
95be69dabb
1 changed files with 6 additions and 6 deletions
|
@ -172,7 +172,7 @@ crate fn placeholder_type_error(
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut err = bad_placeholder_type(tcx, placeholder_types);
|
let mut err = bad_placeholder_type(tcx, placeholder_types);
|
||||||
|
|
||||||
// Suggest, but only if it is not a function
|
// Suggest, but only if it is not a function
|
||||||
if suggest && !is_fn {
|
if suggest && !is_fn {
|
||||||
err.multipart_suggestion(
|
err.multipart_suggestion(
|
||||||
|
@ -202,11 +202,11 @@ fn reject_placeholder_type_signatures_in_item(tcx: TyCtxt<'tcx>, item: &'tcx hir
|
||||||
visitor.visit_item(item);
|
visitor.visit_item(item);
|
||||||
|
|
||||||
placeholder_type_error(
|
placeholder_type_error(
|
||||||
tcx,
|
tcx,
|
||||||
Some(generics.span),
|
Some(generics.span),
|
||||||
&generics.params[..],
|
&generics.params[..],
|
||||||
visitor.0,
|
visitor.0,
|
||||||
suggest,
|
suggest,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue