From 820b088a215c02ae47549c9588ac121bef62a00d Mon Sep 17 00:00:00 2001 From: Felix S Klock II Date: Tue, 26 Mar 2019 13:31:36 +0100 Subject: [PATCH] Placate tidy Get us back below 100 characters per line to placate tidy. --- src/librustc/lint/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/lint/mod.rs b/src/librustc/lint/mod.rs index 7af4c667ed1..5ebb915d57f 100644 --- a/src/librustc/lint/mod.rs +++ b/src/librustc/lint/mod.rs @@ -712,11 +712,11 @@ pub fn struct_lint_level<'a>(sess: &'a Session, "this was previously accepted by the compiler but is being phased out; \ it will become a hard error"; - let explanation = if lint_id == LintId::of(crate::lint::builtin::UNSTABLE_NAME_COLLISIONS) { + let explanation = if lint_id == LintId::of(builtin::UNSTABLE_NAME_COLLISIONS) { "once this method is added to the standard library, \ the ambiguity may cause an error or change in behavior!" .to_owned() - } else if lint_id == LintId::of(crate::lint::builtin::MUTABLE_BORROW_RESERVATION_CONFLICT) { + } else if lint_id == LintId::of(builtin::MUTABLE_BORROW_RESERVATION_CONFLICT) { "this borrowing pattern was not meant to be accepted, \ and may become a hard error in the future" .to_owned()