compiletest: Automatically specify `-Zunstable-options` when the `edition` header is set to an unstable edition
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
During each new edition, it is a bit of a hassle to add/remove -Zunstable-options headers for the next edition. I think it would be helpful to automatically specify -Zunstable-options when an edition header specifies an unstable edition. This means there would roughly be one place to make the switch (compiletest itself).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in compiletest's handling of edition headers and inspect how it currently processes -Zunstable-options. The work is done when unstable editions automatically receive that option, eliminating the need to add or remove separate headers for each new edition; verify the compiletest behavior around edition-based tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100