fix tidy error

This commit is contained in:
Jorge Aparicio 2018-05-29 14:25:35 +02:00
parent a174f2ab7c
commit 948ed24a09

View File

@ -1167,7 +1167,8 @@ fn check_fn<'a, 'gcx, 'tcx>(inherited: &'a Inherited<'a, 'gcx, 'tcx>,
if !generics.params.is_empty() {
fcx.tcx.sess.span_err(
span,
"`#[panic_implementation]` function should have no type parameters",
"`#[panic_implementation]` function should have no type \
parameters",
);
}
}