error: found `Rc>`. Consider using `Rc>` or `Arc>` instead --> $DIR/rc_mutex.rs:8:10 | LL | foo: Rc>, | ^^^^^^^^^^^^^^ | = note: `-D clippy::rc-mutex` implied by `-D warnings` error: found `Rc>`. Consider using `Rc>` or `Arc>` instead --> $DIR/rc_mutex.rs:20:22 | LL | pub fn test1(foo: Rc>) {} | ^^^^^^^^^^^^ error: found `Rc>`. Consider using `Rc>` or `Arc>` instead --> $DIR/rc_mutex.rs:22:19 | LL | pub fn test2(foo: Rc>) {} | ^^^^^^^^^^^^^^^^^ error: found `Rc>`. Consider using `Rc>` or `Arc>` instead --> $DIR/rc_mutex.rs:24:19 | LL | pub fn test3(foo: Rc>>) {} | ^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 4 previous errors