- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.8k
 
Open
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.
Description
Description
It should be possible to to specify a specific impl of a trait method (e.g. <alloc::vec::Vec as core::iter::IntoIterator>::into_iter) to be disallowed, rather than having to disallow the trait method for all impls. Two things will need to be done to fix this:
clippy.tomlsyntax will need to be extended.- The 
DefIdfor the trait method will need to be resolved to it's impl'sDefId, if possible (generic code will need something more creative here as it could be calling<T as IntoIterator>::into_iter). 
xxchan, daladim, safinaskar, y21, MarekSosnicki-deliveroo and 14 moresafinaskar, miamia0, ssttuu and oxkitsune
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.