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

Fixes the irrefutable let pattern warning in structs1.rs #179

Merged

Conversation

briankung
Copy link
Contributor

PR #163 accidentally introduced an error using some versions of the Rust compiler where the compiler would (rightly!) complain about an irrefutable let pattern. I have no idea why this did not occur in all versions of the compiler, but here is a way around it.

@komaeda
Copy link
Contributor

komaeda commented Jun 20, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Jun 20, 2019

📌 Commit cc6a141 has been approved by komaeda

@bors
Copy link
Contributor

bors commented Jun 20, 2019

⌛ Testing commit cc6a141 with merge 752bc27...

bors added a commit that referenced this pull request Jun 20, 2019
…r=komaeda

Fixes the irrefutable let pattern warning in `structs1.rs`

PR #163 accidentally introduced an error using some versions of the Rust compiler where the compiler would (rightly!) complain about an irrefutable let pattern. I have no idea why this did not occur in all versions of the compiler, but here is a way around it.
@bors
Copy link
Contributor

bors commented Jun 20, 2019

☀️ Test successful - checks-travis
Approved by: komaeda
Pushing 752bc27 to master...

@bors bors merged commit cc6a141 into rust-lang:master Jun 20, 2019
@briankung briankung deleted the fix_irrefutable_let_pattern_structs1 branch June 20, 2019 15:18
pedantic79 pushed a commit to pedantic79/rustlings that referenced this pull request Apr 11, 2020
…tructs1, r=komaeda

Fixes the irrefutable let pattern warning in `structs1.rs`

PR rust-lang#163 accidentally introduced an error using some versions of the Rust compiler where the compiler would (rightly!) complain about an irrefutable let pattern. I have no idea why this did not occur in all versions of the compiler, but here is a way around it.
ppp3 pushed a commit to ppp3/rustlings that referenced this pull request May 23, 2022
…tructs1, r=komaeda

Fixes the irrefutable let pattern warning in `structs1.rs`

PR rust-lang#163 accidentally introduced an error using some versions of the Rust compiler where the compiler would (rightly!) complain about an irrefutable let pattern. I have no idea why this did not occur in all versions of the compiler, but here is a way around it.
dmoore04 pushed a commit to dmoore04/rustlings that referenced this pull request Sep 11, 2022
…tructs1, r=komaeda

Fixes the irrefutable let pattern warning in `structs1.rs`

PR rust-lang#163 accidentally introduced an error using some versions of the Rust compiler where the compiler would (rightly!) complain about an irrefutable let pattern. I have no idea why this did not occur in all versions of the compiler, but here is a way around it.
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 this pull request may close these issues.

None yet

3 participants