Skip to content
Browse files

Placate tidy

Get us back below 100 characters per line to placate tidy.
  • Loading branch information...
pnkfelix authored and matthewjasper committed Mar 26, 2019
1 parent 4ff459f commit 820b088a215c02ae47549c9588ac121bef62a00d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/librustc/lint/
@@ -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!"
} 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"

0 comments on commit 820b088

Please sign in to comment.
You can’t perform that action at this time.