fix tidy error
This commit is contained in:
parent
a174f2ab7c
commit
948ed24a09
@ -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",
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user