File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ( )
You can’t perform that action at this time.
0 commit comments