diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-01-09 21:13:42 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-01-09 21:13:42 +0900 |
| commit | 3cf3ed787740a82b4f3ab76db454218177a7a08a (patch) | |
| tree | b3676baf4a639000c0ffd04817d9e52865c51326 | |
| parent | 6a90f1414fbe5109c0954f7927726c1f3e866067 (diff) | |
| download | rust-3cf3ed787740a82b4f3ab76db454218177a7a08a.tar.gz rust-3cf3ed787740a82b4f3ab76db454218177a7a08a.zip | |
Separate the description on different lines
| -rw-r--r-- | src/librustc_lint/builtin.rs | 4 |
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"); } } |
