Skip to content

Empty import lists are too permissive #38012

Description

@jseyfried

For example,

struct S;
use S::{}; // this is allowed,
use S::*; // but this is an error.

Activity

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

Metadata

Metadata

Assignees

Labels

A-resolveArea: Name/path resolution done by `rustc_resolve` specifically

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions