-
Notifications
You must be signed in to change notification settings - Fork 2.1k
cargo clippy attempted to fix let_and_return but failed #11056
Copy link
Copy link
Closed
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-false-positiveIssue: The lint was triggered on code it shouldn't haveIssue: The lint was triggered on code it shouldn't haveI-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when appliedIssue: The suggestions provided by this Lint cause an ICE/error when applied
Metadata
Metadata
Assignees
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-false-positiveIssue: The lint was triggered on code it shouldn't haveIssue: The lint was triggered on code it shouldn't haveI-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when appliedIssue: The suggestions provided by this Lint cause an ICE/error when applied
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
Hi, I'm learning rust. I was not able to identify the issue: Clippy attempted to fix a function but it failed.
It looks similar to #91523.
Lint Name
let_and_return
Reproducer
git clone git@github.com:Mcdostone/kconfig.git cd kconfig cargo clippy --fixBacktrace
Version
Additional Labels
No response