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

Cannot parse use {foo, bar} #10806

Closed
lilyball opened this issue Dec 4, 2013 · 0 comments · Fixed by #10808
Closed

Cannot parse use {foo, bar} #10806

lilyball opened this issue Dec 4, 2013 · 0 comments · Fixed by #10808

Comments

@lilyball
Copy link
Contributor

lilyball commented Dec 4, 2013

If I want to pull in some definitions from the top-level module, I'd like to be able to say use {foo, bar}, but that doesn't parse.

Untitled.rs:5:8: 5:9 error: expected ident, found `{`
Untitled.rs:5     use {foo, bar};
                      ^
bors added a commit that referenced this issue Dec 11, 2013
@bors bors closed this as completed in bd36b06 Dec 11, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Jun 2, 2023
[`large_stack_arrays`]: check array initializer expressions

Fixes rust-lang#10741.
Prior to this PR, the lint only checked array repeat expressions (ie. `[T; n]`). Now it also checks array initializer expressions.

changelog: [`large_stack_arrays`]: check array initializer expressions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant