Skip to content

lint: Warn when items are unused and not exported #1702

Description

@brson

Recently I was refactoring and accidentally left a bunch of unused functions laying around. This would be a useful check for the lint pass.

Activity

  1. graydon commented on Feb 15, 2012

    @graydon
    Contributor

    Duplicated (with a tiny bit more content) by #1749, closing this one.

  2. added a commit that references this issue on Jun 4, 2024
  3. added a commit that references this issue on Aug 21, 2026
  4. added a commit that references this issue on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions