Skip to content

Empty import lists are too permissive #38012

Closed
@jseyfried

Description

@jseyfried

For example,

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

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