Skip to content

Test for #7663 doesn't test anything (?) #140780

@pvdrz

Description

@pvdrz

This is a similar story to #140765. Basically tests/ui/issues/issue-7663.rs doesn't test anything as the glob imports were removed from the file and there's no duplicated import for p on either case.

I think the test should no longer be run-pass and instead it should test that:

  • Importing both p items with glob imports fails
  • Importing both p items with non-glob imports fails
  • Importing one p with a glob import and another p with a non-glob import is ok.

I'll create a PR with a fix if this is correct.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-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