]> git.lizzy.rs Git - rust.git/blob - tests/ui/def_id_nocore.stderr
Auto merge of #68717 - petrochenkov:stabexpat, r=varkor
[rust.git] / tests / ui / def_id_nocore.stderr
1 error: 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    |
4 LL |     pub fn as_ref(self) -> &'static str {
5    |                   ^^^^
6    |
7    = note: `-D clippy::wrong-self-convention` implied by `-D warnings`
8
9 error: aborting due to previous error
10