Skip to content

build failed with rust 1.73 #12

Description

@matwey

When flux is building with rust 1.73 the following issue happens:

[   70s] error: private item shadows public glob re-export
[   70s]   --> flux/src/lib.rs:12:16
[   70s]    |
[   70s] 12 | use fluxcore::{Database, Flux};
[   70s]    |                ^^^^^^^^
[   70s]    |
[   70s] note: the name `Database` in the type namespace is supposed to be publicly re-exported here
[   70s]   --> flux/src/lib.rs:16:46
[   70s]    |
[   70s] 16 | pub use fluxcore::{ast, formatter, semantic, *};
[   70s]    |                                              ^
[   70s] note: but the private item here shadows it
[   70s]   --> flux/src/lib.rs:12:16
[   70s]    |
[   70s] 12 | use fluxcore::{Database, Flux};
[   70s]    |                ^^^^^^^^
[   70s] note: the lint level is defined here
[   70s]   --> flux/src/lib.rs:1:38
[   70s]    |
[   70s] 1  | #![cfg_attr(feature = "strict", deny(warnings, missing_docs))]
[   70s]    |                                      ^^^^^^^^
[   70s]    = note: `#[deny(hidden_glob_reexports)]` implied by `#[deny(warnings)]`
[   70s] 
[   70s] error: private item shadows public glob re-export
[   70s]   --> flux/src/lib.rs:12:26
[   70s]    |
[   70s] 12 | use fluxcore::{Database, Flux};
[   70s]    |                          ^^^^
[   70s]    |
[   70s] note: the name `Flux` in the type namespace is supposed to be publicly re-exported here
[   70s]   --> flux/src/lib.rs:16:46
[   70s]    |
[   70s] 16 | pub use fluxcore::{ast, formatter, semantic, *};
[   70s]    |                                              ^
[   70s] note: but the private item here shadows it
[   70s]   --> flux/src/lib.rs:12:26
[   70s]    |
[   70s] 12 | use fluxcore::{Database, Flux};
[   70s]    |                          ^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions