Skip to content

Turn custom code classes in docs into warning#115914

Merged
bors merged 3 commits into
rust-lang:masterfrom
GuillaumeGomez:turn-custom_code_classes_in_docs-into-warning
Sep 18, 2023
Merged

Turn custom code classes in docs into warning#115914
bors merged 3 commits into
rust-lang:masterfrom
GuillaumeGomez:turn-custom_code_classes_in_docs-into-warning

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

By habit, since it was a new feature gate, I added a check which emitted an error in case the new syntax was used. However, since rustdoc tags parser was accepting everything, using the "new" syntax should never ever emit errors. It now emits a warning.

Follow-up of #110800.

cc @Manishearth
r? @notriddle

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Sep 17, 2023
@GuillaumeGomez GuillaumeGomez force-pushed the turn-custom_code_classes_in_docs-into-warning branch from e81d7af to c17abf1 Compare September 17, 2023 13:11
@Manishearth

Copy link
Copy Markdown
Member

@bors r+ p=2 rollup=maybe

this fixes a docs regression

@bors

bors commented Sep 17, 2023

Copy link
Copy Markdown
Collaborator

📌 Commit c17abf1 has been approved by Manishearth

It is now in the queue for this repository.

@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 Sep 17, 2023
Comment thread src/librustdoc/markdown.rs Outdated
Co-authored-by: Michael Howell <michael@notriddle.com>
@Manishearth

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Sep 17, 2023

Copy link
Copy Markdown
Collaborator

📌 Commit e1e1a02 has been approved by Manishearth

It is now in the queue for this repository.

@bors

bors commented Sep 17, 2023

Copy link
Copy Markdown
Collaborator

⌛ Testing commit e1e1a02 with merge 859f3fc...

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 17, 2023
…ses_in_docs-into-warning, r=Manishearth

Turn custom code classes in docs into warning

By habit, since it was a new feature gate, I added a check which emitted an error in case the new syntax was used. However, since rustdoc tags parser was accepting *everything*, using the "new" syntax should never ever emit errors. It now emits a warning.

Follow-up of rust-lang#110800.

cc `@Manishearth`
r? `@notriddle`
@GuillaumeGomez

Copy link
Copy Markdown
Member Author

Thanks to the both of you!

@bors

bors commented Sep 17, 2023

Copy link
Copy Markdown
Collaborator

💥 Test timed out

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 17, 2023
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@notriddle

Copy link
Copy Markdown
Contributor

@bors retry

@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 Sep 18, 2023
@bors

bors commented Sep 18, 2023

Copy link
Copy Markdown
Collaborator

⌛ Testing commit e1e1a02 with merge 10b88f8...

@bors

bors commented Sep 18, 2023

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: Manishearth
Pushing 10b88f8 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 18, 2023
@bors bors merged commit 10b88f8 into rust-lang:master Sep 18, 2023
@rustbot rustbot added this to the 1.74.0 milestone Sep 18, 2023
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (10b88f8): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
3.0% [3.0%, 3.0%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.3% [-3.6%, -2.9%] 3
All ❌✅ (primary) - - 0

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 634.575s -> 636.108s (0.24%)
Artifact size: 318.43 MiB -> 318.40 MiB (-0.01%)

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. T-rustdoc Relevant 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.

7 participants