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

Turn compatibility lint match_of_unit_variant_via_paren_dotdot into a hard error #36871

Merged
merged 1 commit into from Oct 11, 2016

Conversation

petrochenkov
Copy link
Contributor

The lint was introduced 10 months ago and made deny-by-default 7 months ago.
In case someone is still using it, #36868 contains a stable replacement.

r? @nikomatsakis

@nikomatsakis
Copy link
Contributor

Started crater run comparing 1d64acd and 982770d01b44490666f475ab5caa7f157ea0dfc8.

@bors
Copy link
Contributor

bors commented Oct 5, 2016

☔ The latest upstream changes (presumably #36814) made this pull request unmergeable. Please resolve the merge conflicts.

@nikomatsakis
Copy link
Contributor

Crater report: https://gist.github.com/nikomatsakis/ac9e9e1abf4cf42c398680ac5afa3a74

  • 6374 crates tested: 4706 working / 1626 broken / 8 regressed / 6 fixed / 28 unknown.

@petrochenkov
Copy link
Contributor Author

ring-0.4.3 - deny(unknown_lints)
other regressions - spurious, curl: (56) GnuTLS recv error (-54): Error in the pull function.

@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Oct 11, 2016

📌 Commit b3cb8f6 has been approved by nikomatsakis

@nikomatsakis
Copy link
Contributor

Seems ok.

@bors
Copy link
Contributor

bors commented Oct 11, 2016

⌛ Testing commit b3cb8f6 with merge 304d0c8...

bors added a commit that referenced this pull request Oct 11, 2016
Turn compatibility lint `match_of_unit_variant_via_paren_dotdot` into a hard error

The lint was introduced 10 months ago and made deny-by-default 7 months ago.
In case someone is still using it, #36868 contains a stable replacement.

r? @nikomatsakis
@alexcrichton
Copy link
Member

Just restarted buildbot, but this passed almost all tests, so merging.

@alexcrichton alexcrichton merged commit b3cb8f6 into rust-lang:master Oct 11, 2016
eddyb added a commit to eddyb/rust that referenced this pull request Nov 9, 2016
Partially stabilize RFC 1506 "Clarify relationships between ADTs"

Lifted restrictions on tuple structs/variants are stabilized, i.e. `S{..}` can be used with any structs and empty tuple structs are permitted without feature gate.
Numeric fields in struct expressions/patterns `S { 0: a, 1: b }` are **NOT** stabilized.
This was implemented 1.5 months ago in Rust 1.12, but this is a tiny technical change that could probably go even without RFC/stabilization period.

cc rust-lang#35626 rust-lang#36871
r? @nikomatsakis
@petrochenkov petrochenkov deleted the pdderr branch March 16, 2017 19:38
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

4 participants