1 error: variable does not need to be mutable
2 --> $DIR/lint-unused-mut-self.rs:8:12
4 LL | fn foo(mut self) {}
7 | help: remove this `mut`
9 note: the lint level is defined here
10 --> $DIR/lint-unused-mut-self.rs:4:9
12 LL | #![deny(unused_mut)]
15 error: variable does not need to be mutable
16 --> $DIR/lint-unused-mut-self.rs:9:12
18 LL | fn bar(mut self: Box<Foo>) {}
21 | help: remove this `mut`
23 error: aborting due to 2 previous errors