#![warn(clippy::rc_mutex)] #![allow(clippy::boxed_local, clippy::needless_pass_by_value)] #![allow(clippy::blacklisted_name, unused_variables, dead_code)] use std::rc::Rc; use std::sync::Mutex; pub struct MyStruct { foo: Rc>, } pub struct SubT { foo: T, } pub enum MyEnum { One, Two, } pub fn test1(foo: Rc>) {} pub fn test2(foo: Rc>) {} pub fn test3(foo: Rc>>) {} fn main() {}