error: usage of `Rc>` --> $DIR/rc_mutex.rs:8:10 | LL | foo: Rc>, | ^^^^^^^^^^^^^^ | = note: `-D clippy::rc-mutex` implied by `-D warnings` = help: consider using `Rc>` or `Arc>` instead error: usage of `Rc>` --> $DIR/rc_mutex.rs:26:18 | LL | fn test1(foo: Rc>) {} | ^^^^^^^^^^^^ | = help: consider using `Rc>` or `Arc>` instead error: usage of `Rc>` --> $DIR/rc_mutex.rs:27:15 | LL | fn test2(foo: Rc>) {} | ^^^^^^^^^^^^^^^^^ | = help: consider using `Rc>` or `Arc>` instead error: usage of `Rc>` --> $DIR/rc_mutex.rs:28:15 | LL | fn test3(foo: Rc>>) {} | ^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using `Rc>` or `Arc>` instead error: aborting due to 4 previous errors