-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix std-instead-of-core
FP when not all items come from the new crate
#15165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @Alexendoo rustbot has assigned @Alexendoo. Use |
r? samueltardieu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lint must still trigger in the newly added case, but only for the items which should come from core
(such as core::error::Error
), leaving the others (here std::fs::File
) untouched.
Now this lint will trigger when only part of the |
@rustbot ready |
Btw, why is the lint source file named |
@rustbot ready |
Thanks! |
Closes #15143
Covering edge cases missed in #15016
changelog: [
std-instead-of-core
] fix FP when not all items come from the new crate