-
Notifications
You must be signed in to change notification settings - Fork 185
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
Remove unused imports from docs tests #4628
Conversation
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.
Thanks! Please also update the job in tests.toml
with the arguments you used so that we don't backslide.
Thanks for doing this! Two things:
|
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.
^
I have fixed the failing test now, it happened cuz I removed a legit import accidently. Now about the |
Here's an update of what I found: @robertbastian I hope I'm not doing something absolutely stupid, would like to hear your advice on this. |
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.
I've looked into this and couldn't find a way to do this either. There's an open issue for this (rust-lang/rust#56232), but no workaround afaict. Let's merge the manual fixes for now.
Edit: please fix broken tests
Yeah unfortunately it was a wild goose chase :( P.S. I've fixed the broken tests, @robertbastian thanks for your help with the issue! |
Cleaned all the unused imports, which can be confusing to clients and developers.
Part of #4570