Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit-like structs can mask constants #7044

Closed
sanxiyn opened this issue Jun 10, 2013 · 1 comment
Closed

Unit-like structs can mask constants #7044

sanxiyn opened this issue Jun 10, 2013 · 1 comment
Labels
A-resolve Area: Name resolution

Comments

@sanxiyn
Copy link
Member

sanxiyn commented Jun 10, 2013

static X: int = 0;
struct X;
fn main() {}
@luqmana
Copy link
Member

luqmana commented Jun 10, 2013

Newtype structs as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-resolve Area: Name resolution
Projects
None yet
Development

No branches or pull requests

2 participants