A-lintL-styleT-middlegood first issue
描述
Would it be possible to lint on the situation in which a struct field shares a name with a struct method? For example, in the following situation:
struct Foo {
bar: i32
}
impl Foo {
fn bar(self);
}
Would it be possible to lint on the situation in which a struct field shares a name with a struct method? For example, in the following situation:
struct Foo {
bar: i32
}
impl Foo {
fn bar(self);
}