Skip to content

Commit 820b088

Browse files
pnkfelixmatthewjasper
authored andcommitted
Placate tidy
Get us back below 100 characters per line to placate tidy.
1 parent 4ff459f commit 820b088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/lint/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -712,11 +712,11 @@ pub fn struct_lint_level<'a>(sess: &'a Session,
712712
"this was previously accepted by the compiler but is being phased out; \
713713
it will become a hard error";
714714

715-
let explanation = if lint_id == LintId::of(crate::lint::builtin::UNSTABLE_NAME_COLLISIONS) {
715+
let explanation = if lint_id == LintId::of(builtin::UNSTABLE_NAME_COLLISIONS) {
716716
"once this method is added to the standard library, \
717717
the ambiguity may cause an error or change in behavior!"
718718
.to_owned()
719-
} else if lint_id == LintId::of(crate::lint::builtin::MUTABLE_BORROW_RESERVATION_CONFLICT) {
719+
} else if lint_id == LintId::of(builtin::MUTABLE_BORROW_RESERVATION_CONFLICT) {
720720
"this borrowing pattern was not meant to be accepted, \
721721
and may become a hard error in the future"
722722
.to_owned()

0 commit comments

Comments
 (0)