Skip to content

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Mar 4, 2016

Fixes #32004

r? @eddyb

fn main() {
match Foo::Baz {
Foo::Bar => {}
//~^ ERROR this pattern has 0 fields, but the corresponding
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you expand the expected message to also include “variant” here?

@nagisa
Copy link
Member

nagisa commented Mar 4, 2016

@bors r+ f40d12f

Looks good to me.

@nagisa
Copy link
Member

nagisa commented Mar 4, 2016

I nominate this for beta since this fixes a regression from stable to nightly (now beta) and we recently had a release.

@nagisa nagisa added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Mar 4, 2016
@bors
Copy link
Collaborator

bors commented Mar 4, 2016

⌛ Testing commit f40d12f with merge d31d8a9...

bors added a commit that referenced this pull request Mar 4, 2016
@bors bors merged commit f40d12f into rust-lang:master Mar 4, 2016
@nikomatsakis nikomatsakis added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Mar 10, 2016
@brson brson removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants