From 3cf3ed787740a82b4f3ab76db454218177a7a08a Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 9 Jan 2019 21:13:42 +0900 Subject: [PATCH] Separate the description on different lines --- src/librustc_lint/builtin.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ 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"); } } -- 2.44.0