File tree 1 file changed +2
-2
lines changed
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,
712
712
"this was previously accepted by the compiler but is being phased out; \
713
713
it will become a hard error";
714
714
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 ) {
716
716
"once this method is added to the standard library, \
717
717
the ambiguity may cause an error or change in behavior!"
718
718
. 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 ) {
720
720
"this borrowing pattern was not meant to be accepted, \
721
721
and may become a hard error in the future"
722
722
. to_owned ( )
You can’t perform that action at this time.
0 commit comments