Skip to content

test: Add testcase for #16745 #24586

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

Merged
merged 2 commits into from
Apr 20, 2015
Merged

test: Add testcase for #16745 #24586

merged 2 commits into from
Apr 20, 2015

Conversation

richo
Copy link
Contributor

@richo richo commented Apr 19, 2015

closes #16745

@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@richo
Copy link
Contributor Author

richo commented Apr 19, 2015

r? @jakub-

@rust-highfive rust-highfive assigned ghost and unassigned alexcrichton Apr 19, 2015
@ghost
Copy link

ghost commented Apr 19, 2015

@richo Hey, great, could we perhaps tweak the test case so that it has an assertion? Maybe assert on the value of the whole match expression?

Just trying to make sure it is a bit more comprehensive (I admit, however, I myself have not been very diligent about this in the past.)

r+ with that

@ghost ghost closed this Apr 19, 2015
@ghost ghost reopened this Apr 19, 2015
@richo
Copy link
Contributor Author

richo commented Apr 19, 2015

Added an assertion. Should be good to go.

@ghost
Copy link

ghost commented Apr 19, 2015

@bors: r+ 4cf9e2d rollup

bors added a commit that referenced this pull request Apr 20, 2015
@bors
Copy link
Collaborator

bors commented Apr 20, 2015

⌛ Testing commit 4cf9e2d with merge 07560d2...

@bors bors merged commit 4cf9e2d into rust-lang:master Apr 20, 2015
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.

Can't mix generic and specific literals in match arms
4 participants