fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: variable does not need to be mutable 2 --> $DIR/lint-unused-mut-self.rs:8:12 3 | 4LL | fn foo(mut self) {} 5 | ----^^^^ 6 | | 7 | help: remove this `mut` 8 | 9note: the lint level is defined here 10 --> $DIR/lint-unused-mut-self.rs:4:9 11 | 12LL | #![deny(unused_mut)] 13 | ^^^^^^^^^^ 14 15error: variable does not need to be mutable 16 --> $DIR/lint-unused-mut-self.rs:9:12 17 | 18LL | fn bar(mut self: Box<Foo>) {} 19 | ----^^^^ 20 | | 21 | help: remove this `mut` 22 23error: aborting due to 2 previous errors 24