Elision lint should not do anything if trait refs are involved #296
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
T-middle
Type: Probably requires verifiying types
This is not always elidable, since it's possible to be
&'a Trait + 'a
too. Neither cases allow elision consistently, AFAICT.walk_ty
ing and searching for anything wrapping a trait except for aBox
(TyUniq
) should work.The text was updated successfully, but these errors were encountered: