Skip to content

regression: error[E0659]: Entry is ambiguous #134714

Open
@cuviper

Description

[INFO] [stdout] error[E0659]: `Entry` is ambiguous
[INFO] [stdout]   --> src/component_index.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Entry::Occupied(o) => o.into_mut(),
[INFO] [stdout]    |             ^^^^^ ambiguous name
[INFO] [stdout]    |
[INFO] [stdout]    = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `Entry` could refer to the enum imported here
[INFO] [stdout]   --> src/component_index.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std::collections::hash_map::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider adding an explicit import of `Entry` to disambiguate
[INFO] [stdout] note: `Entry` could also refer to the enum imported here
[INFO] [stdout]   --> src/component_index.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | use std::collections::hash_set::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider adding an explicit import of `Entry` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `Entry` is ambiguous
[INFO] [stdout]   --> src/component_index.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Entry::Vacant(v) => v.insert(HashSet::new()),
[INFO] [stdout]    |             ^^^^^ ambiguous name
[INFO] [stdout]    |
[INFO] [stdout]    = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `Entry` could refer to the enum imported here
[INFO] [stdout]   --> src/component_index.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std::collections::hash_map::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider adding an explicit import of `Entry` to disambiguate
[INFO] [stdout] note: `Entry` could also refer to the enum imported here
[INFO] [stdout]   --> src/component_index.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | use std::collections::hash_set::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: consider adding an explicit import of `Entry` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0659`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `beverage`

Version it worked on

It most recently worked on: 1.83.0

Version with regression

Using rustc 1.84.0-beta.4 in crater #134138.

@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-prioritizeIssue: Indicates that prioritization has been requested for this issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions