Skip to content

Enable symbol_intern_string_literal lint for rustdoc#158025

Merged
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
nnethercote:symbol_intern_string_literal-rustdoc
Jun 17, 2026
Merged

Enable symbol_intern_string_literal lint for rustdoc#158025
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
nnethercote:symbol_intern_string_literal-rustdoc

Conversation

@nnethercote

Copy link
Copy Markdown
Contributor

Details in individual commits.

r? @Urgau

- Document which pass each lint belongs to.
- Make the lint ordering consistent.
- Add (commented out) `SYMBOL_INTERN_STRING_LITERAL`, which was missing,
  with an explanation of why it's disabled.
And fix a few cases it catches.
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Jun 17, 2026
@Urgau

Urgau commented Jun 17, 2026

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-bors Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

📌 Commit af9a706 has been approved by Urgau

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Jun 17, 2026
rust-bors Bot pushed a commit that referenced this pull request Jun 17, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - #157816 (make more slice mutable ref getters rustc_no_writable)
 - #156788 (Document that destructors in running threads are not run on program exit)
 - #157957 (Add documentation for the `must_use` attribute)
 - #158006 (Simplify `HardwiredLints` and `SoftLints`)
 - #158007 (Pin dependencies)
 - #158025 (Enable `symbol_intern_string_literal` lint for rustdoc)
@rust-bors rust-bors Bot merged commit ed85b5b into rust-lang:main Jun 17, 2026
13 checks passed
rust-timer added a commit that referenced this pull request Jun 17, 2026
Rollup merge of #158025 - nnethercote:symbol_intern_string_literal-rustdoc, r=Urgau

Enable `symbol_intern_string_literal` lint for rustdoc

Details in individual commits.

r? @Urgau
@rustbot rustbot added this to the 1.98.0 milestone Jun 17, 2026
@nnethercote nnethercote deleted the symbol_intern_string_literal-rustdoc branch June 17, 2026 22:17
pull Bot pushed a commit to xtqqczze/rust-lang-miri that referenced this pull request Jun 18, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - rust-lang/rust#157816 (make more slice mutable ref getters rustc_no_writable)
 - rust-lang/rust#156788 (Document that destructors in running threads are not run on program exit)
 - rust-lang/rust#157957 (Add documentation for the `must_use` attribute)
 - rust-lang/rust#158006 (Simplify `HardwiredLints` and `SoftLints`)
 - rust-lang/rust#158007 (Pin dependencies)
 - rust-lang/rust#158025 (Enable `symbol_intern_string_literal` lint for rustdoc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants