]> git.lizzy.rs Git - rust.git/commitdiff
Separate the description on different lines
authorYuki Okushi <huyuumi.dev@gmail.com>
Wed, 9 Jan 2019 12:13:42 +0000 (21:13 +0900)
committerYuki Okushi <huyuumi.dev@gmail.com>
Wed, 9 Jan 2019 12:13:42 +0000 (21:13 +0900)
src/librustc_lint/builtin.rs

index f41954f56500e3828dd0e0b3f174a4503de92e99..18b83fa1eaef1f3fc6f138f9c587cb29bf389204 100644 (file)
@@ -229,7 +229,9 @@ fn report_unsafe(&self, cx: &LateContext, span: Span, desc: &'static str) {
 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");
         }
     }