Skip to content

should_implement_trait triggers for next() where the return value has lifetimes #5004

@taralx

Description

@taralx

This should not trigger the lint until we get generic associated types:

pub fn next(&mut self) -> Option<(&K, &mut V)>

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions