]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/def_id_nocore.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / def_id_nocore.stderr
CommitLineData
f20569fa
XL
1error: methods called `as_*` usually take self by reference or self by mutable reference; consider choosing a less ambiguous name
2 --> $DIR/def_id_nocore.rs:26:19
3 |
4LL | pub fn as_ref(self) -> &'static str {
5 | ^^^^
6 |
7 = note: `-D clippy::wrong-self-convention` implied by `-D warnings`
8
9error: aborting due to previous error
10