2021-05-13 08:24:29 +00:00
|
|
|
error: methods called `from_*` usually take no `self`
|
2021-10-23 07:42:52 +00:00
|
|
|
--> $DIR/wrong_self_convention2.rs:54:29
|
2021-05-13 08:24:29 +00:00
|
|
|
|
|
|
|
|
LL | pub fn from_be_self(self) -> Self {
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::wrong-self-convention` implied by `-D warnings`
|
|
|
|
= help: consider choosing a less ambiguous name
|
|
|
|
|
|
|
|
error: methods called `from_*` usually take no `self`
|
2021-10-23 07:42:52 +00:00
|
|
|
--> $DIR/wrong_self_convention2.rs:63:25
|
2021-05-13 08:24:29 +00:00
|
|
|
|
|
|
|
|
LL | fn from_be_self(self) -> Self;
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
= help: consider choosing a less ambiguous name
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|