Skip to content

no_effect lint should also lint calls to const_fn where the result is unused #2722

Open
@oli-obk

Description

@oli-obk
Vec::new();

is an example (soon at least)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions