-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-false-negativeIssue: The lint should have been triggered on code, but wasn'tIssue: The lint should have been triggered on code, but wasn't
Description
Summary
The clippy::uninlined_format_args
rule was upgraded to style
in 1.88.0 as documented in https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-188
It was then re-downgraded back to pedantic
in 1.89.0, with no corresponding release notes. https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-189
Due to lack of release notes about the change, I am not sure if this was an intentional re-downgrade in 1.89.0.
Lint Name
uninlined_format_args
Reproducer
$ rustup run 1.89.0 cargo clippy -q --no-deps -- -W help 2>&1 | grep "uninlined-format-args" | head -1
clippy::uninlined-format-args allow using non-inlined variables in `format!` calls
$ rustup run 1.88.0 cargo clippy -q --no-deps -- -W help 2>&1 | grep "uninlined-format-args" | head -1
clippy::uninlined-format-args warn using non-inlined variables in `format!` calls
$ rustup run 1.87.0 cargo clippy -q --no-deps -- -W help 2>&1 | grep "uninlined-format-args" | head -1
clippy::uninlined-format-args allow using non-inlined variables in `format!` calls
Version
1.89.0
Metadata
Metadata
Assignees
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-false-negativeIssue: The lint should have been triggered on code, but wasn'tIssue: The lint should have been triggered on code, but wasn't