1 error: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference
2 --> $DIR/wrong_self_conventions_mut.rs:15:24
4 LL | pub fn to_many(&mut self) -> Option<&mut [T]> {
7 = note: `-D clippy::wrong-self-convention` implied by `-D warnings`
8 = help: consider choosing a less ambiguous name
10 error: methods with the following characteristics: (`to_*` and `*_mut`) usually take `self` by mutable reference
11 --> $DIR/wrong_self_conventions_mut.rs:23:28
13 LL | pub fn to_many_mut(&self) -> Option<&[T]> {
16 = help: consider choosing a less ambiguous name
18 error: aborting due to 2 previous errors