Skip to content

should report unused_import when it reexports nothing #116032

Closed

Description

@bvanjoi

Code

mod a {}

pub use a::*;

fn main() {}

Current output

nothing

Desired output

unused import: `a::*`

Rationale and extra context

No response

Other cases

No response

Anything else?

No response

Activity

  1. added
    A-diagnosticsArea: Messages for errors, warnings, and lints
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Sep 21, 2023
  2. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Sep 21, 2023
  3. removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Sep 21, 2023
  4. changed the title [-]should report unsed_import when it reexports nothing[/-] [+]should report unused_import when it reexports nothing[/+] on Sep 22, 2023
  5. added a commit that references this issue on Oct 15, 2023
    8a2877b
  6. added 4 commits that reference this issue on Oct 16, 2023
    37b432a
    f99fa3d
    8e13493
    41aa06e
  7. added a commit that references this issue on Nov 2, 2023
    330d7fa
  8. added a commit that references this issue on Jun 22, 2024
    d5bf53b
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-diagnosticsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler 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