-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
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
When the macro arguments span multiple lines they are missed by the lint.
Lint Name
uninlined_format_args
Reproducer
I tried this code (playground):
pub fn foo() {
let a = 1;
format!("{}",
a
);
}
I expected to see this happen: an uninlined_format_args
warning
Instead, this happened: no warning
Version
clippy: 0.1.66 (2022-10-24 758f196)
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