Skip to content

Conversation

davidjsonn
Copy link
Contributor

PR fixes a broken link in the Rust compiler documentation. The original link pointed to rustc_type_ir/codec.rs, which no longer exists in the current compiler architecture. This functionality has been moved to the rustc_middle crate.

The change updates the broken link:

@rustbot
Copy link
Collaborator

rustbot commented Jun 1, 2025

r? @fee1-dead

rustbot has assigned @fee1-dead.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-rustc-dev-guide Area: rustc-dev-guide S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 1, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jun 1, 2025

The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes.

cc @BoxyUwU, @jieyouxu, @Kobzol

@fee1-dead
Copy link
Member

r=me and errs once the suggestion is applied.

@fee1-dead fee1-dead added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 4, 2025
@davidjsonn
Copy link
Contributor Author

What would you suggest doing?

@fee1-dead
Copy link
Member

errs gave a suggestion in his review

@davidjsonn
Copy link
Contributor Author

done, thank you!

@fee1-dead
Copy link
Member

@bors r=fee1-dead,compiler-errors rollup

@bors
Copy link
Collaborator

bors commented Jun 5, 2025

📌 Commit 38fd777 has been approved by fee1-dead,compiler-errors

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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 5, 2025
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jun 5, 2025
…piler-errors

Fix broken link to rustc_type_ir module in serialization docs

PR fixes a broken link in the Rust compiler documentation. The original link pointed to `rustc_type_ir/codec.rs`, which no longer exists in the current compiler architecture. This functionality has been moved to the `rustc_middle` crate.

The change updates the broken link:
- From: https://doc.rust-lang.org/nightly/nightly-rustc/src/rustc_type_ir/codec.rs.html#21
- To: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/index.html
@davidjsonn davidjsonn closed this Jun 5, 2025
bors added a commit that referenced this pull request Jun 5, 2025
Rollup of 8 pull requests

Successful merges:

 - #140638 (UnsafePinned: also include the effects of UnsafeCell)
 - #141272 (modularize the config module bootstrap)
 - #141777 (Do not run PGO/BOLT in x64 Linux alt builds)
 - #141870 (Fix broken link to rustc_type_ir module in serialization docs)
 - #141938 (update rust offload bootstrap)
 - #141962 (rustc-dev-guide subtree update)
 - #141965 (`tests/ui`: A New Order [3/N])
 - #141970 (implement new `x` flag: `--skip-std-check-if-no-download-rustc`)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustc-dev-guide Area: rustc-dev-guide 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.

5 participants