-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Don't assume lang items will exist. #6868
Conversation
r? @flip1995 (rust-highfive has picked a reviewer for you, use r? to override) |
@matthiaskrgr can you test, if this fixes the issue, please? |
For the record; the command I use to test is It does not look like the patch made a different though, hm. :/ |
On closer investigation, those are all legitimate lints. Now to figure out why they didn't trigger before. |
Turns out Should probably remove all uses of |
This still makes a technically correct change, even if it doesn't actually fix anything. |
I don't think this PR makes things better, since it only moves the |
It does change the behaviour when the clone trait dosen't exist. I'm not sure if that will ever happen. |
Oh right. In that case, this makes sense. |
@bors r+ Thanks! |
📌 Commit f2d917e has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Should fix lintcheck warnings caused by #6823See below
changelog: None