11error: getter function appears to return the wrong field
2- --> $DIR/missnamed_getters .rs:11:5
2+ --> $DIR/misnamed_getters .rs:11:5
33 |
44LL | / fn a(&self) -> &u8 {
55LL | | &self.b
66 | | ------- help: consider using: `&self.a`
77LL | | }
88 | |_____^
99 |
10- = note: `-D clippy::missnamed -getters` implied by `-D warnings`
10+ = note: `-D clippy::misnamed -getters` implied by `-D warnings`
1111
1212error: getter function appears to return the wrong field
13- --> $DIR/missnamed_getters .rs:14:5
13+ --> $DIR/misnamed_getters .rs:14:5
1414 |
1515LL | / fn a_mut(&mut self) -> &mut u8 {
1616LL | | &mut self.b
@@ -19,7 +19,7 @@ LL | | }
1919 | |_____^
2020
2121error: getter function appears to return the wrong field
22- --> $DIR/missnamed_getters .rs:18:5
22+ --> $DIR/misnamed_getters .rs:18:5
2323 |
2424LL | / fn b(self) -> u8 {
2525LL | | self.a
@@ -28,7 +28,7 @@ LL | | }
2828 | |_____^
2929
3030error: getter function appears to return the wrong field
31- --> $DIR/missnamed_getters .rs:22:5
31+ --> $DIR/misnamed_getters .rs:22:5
3232 |
3333LL | / fn b_mut(&mut self) -> &mut u8 {
3434LL | | &mut self.a
@@ -37,7 +37,7 @@ LL | | }
3737 | |_____^
3838
3939error: getter function appears to return the wrong field
40- --> $DIR/missnamed_getters .rs:26:5
40+ --> $DIR/misnamed_getters .rs:26:5
4141 |
4242LL | / fn c(&self) -> &u8 {
4343LL | | &self.b
@@ -46,7 +46,7 @@ LL | | }
4646 | |_____^
4747
4848error: getter function appears to return the wrong field
49- --> $DIR/missnamed_getters .rs:30:5
49+ --> $DIR/misnamed_getters .rs:30:5
5050 |
5151LL | / fn c_mut(&mut self) -> &mut u8 {
5252LL | | &mut self.a
@@ -55,7 +55,7 @@ LL | | }
5555 | |_____^
5656
5757error: getter function appears to return the wrong field
58- --> $DIR/missnamed_getters .rs:41:5
58+ --> $DIR/misnamed_getters .rs:41:5
5959 |
6060LL | / unsafe fn a(&self) -> &u8 {
6161LL | | &self.b
@@ -64,7 +64,7 @@ LL | | }
6464 | |_____^
6565
6666error: getter function appears to return the wrong field
67- --> $DIR/missnamed_getters .rs:44:5
67+ --> $DIR/misnamed_getters .rs:44:5
6868 |
6969LL | / unsafe fn a_mut(&mut self) -> &mut u8 {
7070LL | | &mut self.b
@@ -73,7 +73,7 @@ LL | | }
7373 | |_____^
7474
7575error: getter function appears to return the wrong field
76- --> $DIR/missnamed_getters .rs:48:5
76+ --> $DIR/misnamed_getters .rs:48:5
7777 |
7878LL | / unsafe fn b(self) -> u8 {
7979LL | | self.a
@@ -82,7 +82,7 @@ LL | | }
8282 | |_____^
8383
8484error: getter function appears to return the wrong field
85- --> $DIR/missnamed_getters .rs:52:5
85+ --> $DIR/misnamed_getters .rs:52:5
8686 |
8787LL | / unsafe fn b_mut(&mut self) -> &mut u8 {
8888LL | | &mut self.a
0 commit comments