a840d594cc
useless Rc<Rc<T>>, Rc<Box<T>>, Rc<&T>, Box<&T> refers to #2394 changelog: Add lints for Rc<Rc<T>> and Rc<Box<T>> and Rc<&T>, Box<&T> this is based on top of another change #5310 so probably should go after that one.