about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-05-29 14:25:35 +0200
committerJorge Aparicio <jorge@japaric.io>2018-06-03 13:46:20 +0200
commit948ed24a091a569595de6a417f54dbb252f34cd7 (patch)
treecec5d173409560591887bf0a76daec79bc457334
parenta174f2ab7c061ece4529ffa9b897236761298717 (diff)
fix tidy error
-rw-r--r--src/librustc_typeck/check/mod.rs3
1 files changed, 2 insertions, 1 deletions
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",
                                 );
                             }
                         }