1 warning: variable does not need to be mutable
2 --> $DIR/issue-73592-borrow_mut-through-deref.rs:42:17
4 LL | fn test_mut_pin(mut s: Pin<&S>) {
7 | help: remove this `mut`
9 note: the lint level is defined here
10 --> $DIR/issue-73592-borrow_mut-through-deref.rs:20:9
12 LL | #![warn(unused_mut)]
15 warning: variable does not need to be mutable
16 --> $DIR/issue-73592-borrow_mut-through-deref.rs:47:21
18 LL | fn test_mut_pin_mut(mut s: Pin<&mut S>) {
21 | help: remove this `mut`
23 warning: 2 warnings emitted