Skip to content

Don't tell users to use a nightly flag on the stable channel #84055

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

Merged
merged 1 commit into from
Apr 10, 2021

Conversation

kornelski
Copy link
Contributor

When a crate requires a newer edition, currently rustc tells users to use -Z unstable-options. This is not ideal, because:

  • This flag doesn't work on the stable channel, so solution to one error only causes another error, which is frustrating.

  • Directs users towards the nightly channel, which is not necessarily the correct solution. Once the next edition is released, this message will be mostly seen by users of out-of-date stable Rust versions who merely need to update their Rust to the latest stable.

@rust-highfive
Copy link
Contributor

r? @petrochenkov

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 10, 2021
@rust-log-analyzer

This comment has been minimized.

Hint upgrading to a newer Rust version instead
@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 10, 2021

📌 Commit 40af086 has been approved by petrochenkov

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 10, 2021
@bors
Copy link
Collaborator

bors commented Apr 10, 2021

⌛ Testing commit 40af086 with merge 4029d4d...

@bors
Copy link
Collaborator

bors commented Apr 10, 2021

☀️ Test successful - checks-actions
Approved by: petrochenkov
Pushing 4029d4d to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 10, 2021
@bors bors merged commit 4029d4d into rust-lang:master Apr 10, 2021
@rustbot rustbot added this to the 1.53.0 milestone Apr 10, 2021
@kornelski kornelski deleted the z-edition branch April 10, 2021 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants