Skip to content

Invalid unused export warning on 1.75.0-nightly (cd674d617 2023-10-24) #117120

Closed
@dignifiedquire

Description

@dignifiedquire

CI started failing for us, without code changes in this area today with nightly

The code is sth like this

mod keys;
pub use keys::*;

and produces

error: unused import: `keys::*`
  --> iroh-sync/src/lib.rs:44:9
   |
44 | pub use keys::*;
   |         ^^^^^^^
   |
   = note: `-D unused-imports` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(unused_imports)]`

but it should not, given that this is a public export in src/lib.rs.

Version with regression

latest update on 2023-10-24, rust version 1.75.0-nightly (cd674d617 2023-10-24)

Logs

CI logs: https://github.com/n0-computer/iroh/actions/runs/6624632107/job/17994903346?pr=1708

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.regression-untriagedUntriaged performance or correctness regression.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions