]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/wrong_self_convention2.stderr
New upstream version 1.58.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / wrong_self_convention2.stderr
1 error: methods called `from_*` usually take no `self`
2 --> $DIR/wrong_self_convention2.rs:54:29
3 |
4 LL | pub fn from_be_self(self) -> Self {
5 | ^^^^
6 |
7 = note: `-D clippy::wrong-self-convention` implied by `-D warnings`
8 = help: consider choosing a less ambiguous name
9
10 error: methods called `from_*` usually take no `self`
11 --> $DIR/wrong_self_convention2.rs:63:25
12 |
13 LL | fn from_be_self(self) -> Self;
14 | ^^^^
15 |
16 = help: consider choosing a less ambiguous name
17
18 error: aborting due to 2 previous errors
19