]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/needless_arbitrary_self_type_unfixable.stderr
Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup
[rust.git] / src / tools / clippy / tests / ui / needless_arbitrary_self_type_unfixable.stderr
1 error: the type of the `self` parameter does not need to be arbitrary
2   --> $DIR/needless_arbitrary_self_type_unfixable.rs:42:31
3    |
4 LL |         fn call_with_mut_self(self: &mut Self) {}
5    |                               ^^^^^^^^^^^^^^^ help: consider to change this parameter to: `&'_ mut self`
6    |
7    = note: `-D clippy::needless-arbitrary-self-type` implied by `-D warnings`
8
9 error: aborting due to previous error
10