You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clarfonthey opened this issue
Aug 5, 2017
· 1 comment
Labels
A-lintArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.L-styleLint: Belongs in the style lint groupT-middleType: Probably requires verifiying types
oli-obk
added
L-style
Lint: Belongs in the style lint group
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
A-lint
Area: New lints
T-middle
Type: Probably requires verifiying types
labels
Aug 5, 2017
A-lintArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.L-styleLint: Belongs in the style lint groupT-middleType: Probably requires verifiying types
As pointed out in rust-lang/rust#42998 it's an anti-pattern in Rust to create a tuple struct and then used named accessors, as in:
We should lint cases like this and suggest replacing the tuple struct with a named-field struct, and adding a
new
method instead.The text was updated successfully, but these errors were encountered: