Skip to content

Empty import lists are too permissive #38012

Closed

Description

For example,

struct S;
use S::{}; // this is allowed,
use S::*; // but this is an error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-resolveArea: Name resolutionArea: Name resolution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions