Skip to content

Nil literal doesn't parse in some situations #622

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

Closed
brson opened this issue Jul 6, 2011 · 0 comments
Closed

Nil literal doesn't parse in some situations #622

brson opened this issue Jul 6, 2011 · 0 comments
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Jul 6, 2011

() doesn't parse as a nil literal in some situations that I would expect it to, in particular as meta_item values and in patterns

#[x = ()]  
fn main() {
  auto x = ();
  alt (x) {
    case (()) {
    }
  }
}
@ghost ghost assigned catamorphism Jul 20, 2011
marysaka pushed a commit to sunriseos/rust that referenced this issue Oct 20, 2019
We historically have run single-threaded verbose tests because we were
faulting all over the place due to bugs in rustc itself, primarily
around calling conventions and passing values around. Those bugs have
all since been fixed so we should be clear to run multithreaded tests
quietly on CI nowadays!

Closes rust-lang#621
pdietl pushed a commit to pdietl/rust that referenced this issue Apr 23, 2020
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

2 participants