Skip to content

Internal lint: check if span_lint_and_then and span_* are collapsable #5095

Closed
@JohnTitor

Description

@JohnTitor

When span_lint_and_then and span_* have the same span, we can replace them with span_lint_and_* in most cases. It'd be nice that we have an internal lint for this.
It's a follow-up for this comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions