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

derive structs (inert attribute?) regression 1.39 #65521

Closed
Mark-Simulacrum opened this issue Oct 17, 2019 · 4 comments
Closed

derive structs (inert attribute?) regression 1.39 #65521

Mark-Simulacrum opened this issue Oct 17, 2019 · 4 comments
Assignees
Labels
P-high High priority regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@Mark-Simulacrum Mark-Simulacrum added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. regression-from-stable-to-beta Performance or correctness regression from stable to beta. E-needs-bisection Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example labels Oct 17, 2019
@Mark-Simulacrum Mark-Simulacrum added this to the 1.39 milestone Oct 17, 2019
@petrochenkov petrochenkov self-assigned this Oct 17, 2019
@petrochenkov
Copy link
Contributor

This is a consequence of #63468.
Attributes on fields, variants and other places are now properly passed through name resolution.
This means we now detect attempts to apply derives to them, while previously they were just ignored.

The new behavior is correct, but we can make a deprecation lint for this if necessary.

@petrochenkov petrochenkov removed E-needs-bisection Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example labels Oct 17, 2019
@Centril
Copy link
Contributor

Centril commented Oct 17, 2019

The new behavior is correct, but we can make a deprecation lint for this if necessary.

The regressions do not seem numerous or serious enough to warrant that work imo.

@pnkfelix
Copy link
Member

pnkfelix commented Oct 24, 2019

triage: P-high to decide whether to close as known-bug with no deprecation lint. Nominating for discussion at T-compiler meeting to decide above.

  • To be clear: my own inclination/vote is that I'm with @Centril here: I think we can close this as "bugfix" with no deprecation lint. But I want the team to have a chance to discuss.

@pnkfelix pnkfelix added P-high High priority I-nominated labels Oct 24, 2019
@nikomatsakis
Copy link
Contributor

nikomatsakis commented Oct 24, 2019

We discussed at the @rust-lang/compiler meeting and decided that the scope of this fallout doesn't merit a future compatibility warning. Therefore, I am closing this issue.

@Centril Centril removed this from the 1.39 milestone Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-high High priority regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants