Conversation
|
Some changes occurred in compiler/rustc_attr_parsing |
| this: used, | ||
| other: unused, | ||
| this: unused, | ||
| other: used, |
There was a problem hiding this comment.
This order was inconsistent with the order in Warn and WarnButFutureError
|
Aren't these technically breaking changes? |
|
Why is this a breaking change? I think erroring/warning on a different attribute should be fine right? |
|
Well in the cases where it warns, it compiles. Let's say there are two inline attributes, one says always the other never. It will warn about the innermost, apply the outermost, and be inlined. If we make the attribute keep the innermost, it warns about the outermost and not inline |
|
Ooh right, yeah you're right, good catch. |
This comment has been minimized.
This comment has been minimized.
|
@bors try |
This comment has been minimized.
This comment has been minimized.
Remove `ATTRIBUTE_ORDER`
6bafe7f to
698abd4
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
This comment has been minimized.
This comment has been minimized.
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
698abd4 to
976c53f
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
🎉 Experiment
Footnotes
|
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
|
@rustbot author |
|
Reminder, once the PR becomes ready for a review, use |
|
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. |
|
We need to update the Reference for this. Note that two of these touch outstanding PRs:
cc @rust-lang/lang-docs @rust-lang/fls |
|
Left comments on the two mentioned PRs and made rust-lang/reference#2213 |
|
@bors r+ |
…=jdonszelmann Remove `ATTRIBUTE_ORDER` r? @jdonszelmann There's only a few attributes that use `KeepInnermost` and I think I like the consistency of just making them all `KeepOutermost`
View all comments
r? @jdonszelmann
There's only a few attributes that use
KeepInnermostand I think I like the consistency of just making them allKeepOutermost