Skip to content

Allow configuring rustfix::Filter independently of the mode #148

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

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

Alexendoo
Copy link
Contributor

Since rust-lang/rust-clippy#11249 was merged we'll be wanting to move clippy from Yolo to Fail to make the annotations required, but we still want to apply non machine applicable suggestions so this adds an enum to configure rustfix

cc @GuillaumeGomez since rust-lang/rust-clippy#11249 (comment) will be blocked on this

@oli-obk
Copy link
Owner

oli-obk commented Aug 25, 2023

Needs rustfmt, otherwise lgtm.
We can remove Yolo mode now, too, but that'll require some test suite changes. I only added Yolo mode for clippy, we don't need it anymore

@Alexendoo Alexendoo force-pushed the rustfix-configurable-filter branch from 0a6455d to 203c436 Compare August 25, 2023 13:06
@Alexendoo
Copy link
Contributor Author

Ahh I was still on 1.71

Looks like MIRI uses Yolo in some form, not sure on the context how necessary it is though

@oli-obk oli-obk merged commit 92ce321 into oli-obk:main Aug 25, 2023
@oli-obk
Copy link
Owner

oli-obk commented Aug 25, 2023

I can publish on Monday, or, if you open a PR with version bumps, I can tell GHA to publish

@Alexendoo Alexendoo deleted the rustfix-configurable-filter branch August 27, 2023 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants