Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed with rust 1.73 #12

Open
matwey opened this issue Oct 16, 2023 · 0 comments
Open

build failed with rust 1.73 #12

matwey opened this issue Oct 16, 2023 · 0 comments

Comments

@matwey
Copy link

matwey commented Oct 16, 2023

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]    |                          ^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant