Skip to content

Commit

Permalink
Placate tidy
Browse files Browse the repository at this point in the history
Get us back below 100 characters per line to placate tidy.
  • Loading branch information
pnkfelix authored and matthewjasper committed Apr 4, 2019
1 parent 4ff459f commit 820b088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/lint/mod.rs
Expand Up @@ -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()
Expand Down

0 comments on commit 820b088

Please sign in to comment.