about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-01-09 21:13:42 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2019-01-09 21:13:42 +0900
commit3cf3ed787740a82b4f3ab76db454218177a7a08a (patch)
treeb3676baf4a639000c0ffd04817d9e52865c51326
parent6a90f1414fbe5109c0954f7927726c1f3e866067 (diff)
downloadrust-3cf3ed787740a82b4f3ab76db454218177a7a08a.tar.gz
rust-3cf3ed787740a82b4f3ab76db454218177a7a08a.zip
Separate the description on different lines
-rw-r--r--src/librustc_lint/builtin.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc_lint/builtin.rs b/src/librustc_lint/builtin.rs
index f41954f5650..18b83fa1eae 100644
--- a/src/librustc_lint/builtin.rs
+++ b/src/librustc_lint/builtin.rs
@@ -229,7 +229,9 @@ impl UnsafeCode {
 impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnsafeCode {
     fn check_attribute(&mut self, cx: &LateContext, attr: &ast::Attribute) {
         if attr.check_name("allow_internal_unsafe") {
-            self.report_unsafe(cx, attr.span, "`allow_internal_unsafe` allows defining macros using unsafe without triggering the `unsafe_code` lint at their call site");
+            self.report_unsafe(cx, attr.span, "`allow_internal_unsafe` allows defining \
+                                               macros using unsafe without triggering \
+                                               the `unsafe_code` lint at their call site");
         }
     }