-
Notifications
You must be signed in to change notification settings - Fork 2k
Result depending on execution order #277
Copy link
Copy link
Closed
Labels
A-lintArea: New lintsArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.T-ASTType: Requires working with the ASTType: Requires working with the ASTT-MIRType: This lint will require working with the MIRType: This lint will require working with the MIRgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Metadata
Metadata
Assignees
Labels
A-lintArea: New lintsArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.T-ASTType: Requires working with the ASTType: Requires working with the ASTT-MIRType: This lint will require working with the MIRType: This lint will require working with the MIRgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Type
Fields
Give feedbackNo fields configured for issues without a type.
In Rust issue #28160, Niko shows an example containing the line
x += { x = 20; 2 }, and asks the question what execution order should be used.I think we should have a lint against those degenerate cases. However, I'm not sure what patterns we should match.
issues left: