Skip to content

rustdoc: treat edition 2021 as unstable - #82207

Merged
bors merged 1 commit into
rust-lang:masterfrom
ehuss:rustdoc-2021
Feb 17, 2021
Merged

rustdoc: treat edition 2021 as unstable#82207
bors merged 1 commit into
rust-lang:masterfrom
ehuss:rustdoc-2021

Conversation

@ehuss

Copy link
Copy Markdown
Contributor

This ensures that --edition=2021 requires -Z unstable-options in rustdoc.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @jyn514

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 17, 2021
@ehussehuss added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Feb 17, 2021
@ehuss

Copy link
Copy Markdown
ContributorAuthor

Marking as beta-nominated, though it isn't too important since 2021 doesn't do anything. However, I figure this is probably very safe to backport.

@jyn514jyn514 added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-stability Area: `#[stable]`, `#[unstable]` etc. labels Feb 17, 2021
Comment threadsrc/librustdoc/config.rs
@jyn514

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Feb 17, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit ee0e841 has been approved by jyn514

@borsbors 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 Feb 17, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 17, 2021
…laumeGomez
Rollup of 11 pull requests
Successful merges:
- rust-lang#79981 (Add 'consider using' message to overflowing_literals)
- rust-lang#82094 (To digit simplification)
- rust-lang#82105 (Don't fail to remove files if they are missing)
- rust-lang#82136 (Fix ICE: Use delay_span_bug for mismatched subst/hir arg)
- rust-lang#82169 (Document that `assert!` format arguments are evaluated lazily)
- rust-lang#82174 (Replace File::create and write_all with fs::write)
- rust-lang#82196 (Add caveat to Path::display() about lossiness)
- rust-lang#82198 (Use internal iteration in Iterator::is_sorted_by)
- rust-lang#82204 (Update books)
- rust-lang#82207 (rustdoc: treat edition 2021 as unstable)
- rust-lang#82231 (Add long explanation for E0543)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit f97e112 into rust-lang:masterFeb 17, 2021
@rustbotrustbot added this to the 1.52.0 milestone Feb 17, 2021
@apirainoapiraino added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Feb 18, 2021
@cuvipercuviper mentioned this pull request Mar 11, 2021
@cuvipercuviper removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Mar 11, 2021
@cuvipercuviper modified the milestones: 1.52.0, 1.51.0Mar 11, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 11, 2021
[beta] backports
This backports some beta-accepted PRs and one additional LLVM fix for s390x.
- rustdoc: treat edition 2021 as unstable rust-lang#82207
- Fix popping singleton paths in when generating E0433 rust-lang#82259
- libtest: Fix unwrap panic on duplicate TestDesc rust-lang#82274
- [intra-doc links] Don't check feature gates of items re-exported across crates rust-lang#82295
- rustdoc: Remove duplicate "List of all items" rust-lang#82484
- Substitute erased lifetimes on bad placeholder type rust-lang#82494
- Revert LLVM D81803 because it broke Windows 7 rust-lang#82605
- [SystemZ] Assign the full space for promoted and split outgoing args. rust-lang/llvm-project#95
r? `@Mark-Simulacrum`
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-stabilityArea: `#[stable]`, `#[unstable]` etc.beta-acceptedAccepted for backporting to the compiler in the beta channel.S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@ehuss@rust-highfive@jyn514@bors@cuviper@m-ou-se@apiraino@rustbot