From 948ed24a091a569595de6a417f54dbb252f34cd7 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 29 May 2018 14:25:35 +0200 Subject: [PATCH] fix tidy error --- src/librustc_typeck/check/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs index d54f29e6b99..c2c71d90f06 100644 --- a/src/librustc_typeck/check/mod.rs +++ b/src/librustc_typeck/check/mod.rs @@ -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", ); } }