Skip to content

Tracking Issue for NOOP_METHOD_CALL lint #83099

Open
@Aaron1011

Description

@Aaron1011

This is a tracking issue for the NOOP_METHOD_CALL lint (rust-lang/lang-team#67)

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps

Known issues:

Unresolved Questions

  • Should we lint when a method is called via UFCS? This could be interpreted as the user explicitly choosing to call a no-op method.
  • Should we allow external crates to mark their own methods as being 'noop-ops', so that this lint can fire on third-party methods?

Implementation history

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-impl-incompleteStatus: The implementation is incomplete.T-langRelevant to the language team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions