-
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
pre-fallout: Apply uninlined_format-args lint #9525
Conversation
This change is needed for the uninlined_format-args lint to be merged. See rust-lang#9233
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Alexendoo (or someone else) soon. Please see the contribution instructions for more information. |
I'll take this. r? @llogiq |
Looks ok. Hope there aren't too many merge conflicts following this. @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
fallout2: rework clippy_dev & _lints fmt inlining Continuing #9525 -- a few more inlining, but this time with some code changes to simplify format strings: * Inline format args where possible * simplify a few complex macros into format str * use formatdoc!() instead format!(indoc!(...)) changelog: none cc: `@llogiq`
fallout: fix tests to allow uninlined_format_args In order to switch `clippy::uninlined_format_args` from pedantic to style, all existing tests must not raise a warning. I did not want to change the actual tests, so this is a relatively minor change that: * add `#![allow(clippy::uninlined_format_args)]` where needed * normalizes all allow/deny/warn attributes * all allow attributes are grouped together * sorted alphabetically * the `clippy::*` attributes are listed separate from the other ones. * deny and warn attributes are listed before the allowed ones See also #9233, #9525, #9527 cc: `@llogiq` `@Alexendoo` changelog: none
This change is needed for the uninlined_format-args lint to be merged. See #9233
changelog: none