Gate #![reexport_test_harness_main] properly#152210
Gate #![reexport_test_harness_main] properly#152210Ozzy1423 wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
|
r? @fee1-dead rustbot has assigned @fee1-dead. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@bors try |
This comment has been minimized.
This comment has been minimized.
Gate #![reexport_test_harness_main] properly
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
(for reference, this was discussed in #t-compiler > MCP needed for gating an accidentally stable attribute?) |
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🎉 Experiment
Footnotes
|
|
All changes in the crater run are spurious. |
|
☔ The latest upstream changes (presumably #153026) made this pull request unmergeable. Please resolve the merge conflicts. |
|
We talked about this in the meeting today. Let's propose to do this. Some people may do some further investigation; if we find things, we'll file concerns. @rfcbot fcp merge lang |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
|
Team member @traviscross has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! cc @rust-lang/lang-advisors: FCP proposed for lang, please feel free to register concerns. |
|
@rfcbot reviewed |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
|
If anyone wonders the history, I tracked the git blame: the original marker as explicitly “ungated” came in https://github.com/rust-lang/rust/pull/28077/changes#diff-67980357baa8318a775fe4bc05336ea3feba90a64b58d0f8259e2665b2a719dbR237; the fixme comment was introduced in https://github.com/rust-lang/rust/pull/63824/changes#diff-2a0098fbcad74c47eafa44fd374d9f5740476a3af0134d9ec1bdc33e736a8063R188 |
That just made the default explicit, didn't it? Adding it ungated happened in #22364. |
|
This seems like an obvious case of "this probably wasn't a vetted stabilization", and given that it seems like this attribute shouldn't be used without |
View all comments
Address the FIXME
Removed from
issue-43106-gating-of-builtin-attrs.rssince that is for stable attributes only.This would be a breaking change, search of github shows it is mostly but not always used with
#![test_runner]which is already gated correctly.Details:
#50297
Feel free to close this issue if you think it is not worth addressing the FIXME...