about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2025-05-20Make it clear we talk about early bound paramsStan Manilov-1/+2
2025-05-20Fix misdirected link for `TypingEnv`Frank Steffahn-2/+2
2025-05-20Update links between ty-module and bindersStan Manilov-7/+9
The order might have been reversed at some point, leading to the two chapters talking about each other in the wrong order.
2025-05-20Small typo and style fixes in binders.mdStan Manilov-4/+5
Normally I refrain from nit picking, but this seamed worth it.
2025-05-20Merge pull request #2392 from rust-lang/rustc-pullTshepang Mbambo-36/+196
Rustc pull update
2025-05-19Update booksrustbot-0/+0
2025-05-19Update link to Forge guide on new flagsStan Manilov-1/+1
2025-05-19Merge pull request #2394 from smanilov/patch-9nora-1/+1
Make run instructions first
2025-05-19Make run instructions firstStan Manilov-1/+1
Better, because then one knows how to run the examples.
2025-05-19Remove unused references and simplify oneStan Manilov-9/+3
2025-05-19Merge pull request #2389 from fuzzypixelz/typosnora-14/+13
Fix typos in "Libraries and Metadata"
2025-05-19Merge from rustcThe rustc-dev-guide Cronjob Bot-35/+195
2025-05-19Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-05-18Exclude issues with an associated PR from the "What should I work on" GH queryLeón Orell Valerian Liehr-1/+1
2025-05-18Fix typos in "Libraries and Metadata"Mahmoud Mazouz-14/+13
2025-05-18Rollup merge of #141139 - jieyouxu:fix-rfl, r=UrgauLeón Orell Valerian Liehr-2/+2
Fix Rust for Linux ping group label Noticed in https://github.com/rust-lang/rust/pull/140966#issuecomment-2886704667. Seems like a broken label can cause the triagebot ping message to not be issued. See https://github.com/rust-lang/triagebot/issues/1992. ```@rustbot``` label: +A-rust-for-linux
2025-05-18Rollup merge of #140113 - Urgau:rustc-book-page-toc, r=ehussLeón Orell Valerian Liehr-0/+190
Add per page TOC in the `rustc` book This PR adds per page Table of Content (TOC) in the `rustc` book (to be extended in the future to our other books). The goal is to easy the navigation inside the page by providing quick overview of the page content and our position inside that page. That functionality is unfortunately not available natively in `mdbook`, which prompted community members to create [mdBook-pagetoc](https://github.com/JorelAli/mdBook-pagetoc/) (which this PR is heavily inspired by). It's "only" a JS file (to handle the TOC) and a CSS file (to handle the margin, colors, screen size, ...), there is no "post-processor" needed (in mdbook sense). ![image](https://github.com/user-attachments/assets/9e790bea-059d-414e-b4a5-ac8170f57e27) Live preview at: http://urgau.rf.gd/book r? ```@jieyouxu```
2025-05-17rustc-dev-guide: fix Rust for Linux rust-lang/rust labelJieyou Xu-2/+2
2025-05-16Cleanup the Javascript and CSS of our custom TOCUrgau-15/+3
2025-05-16Fix flicker when page loadsUrgau-28/+6
2025-05-16Add per page TOC in the rustc bookUrgau-0/+224
2025-05-16Rollup merge of #141026 - tshepang:rust-push, r=jieyouxuMatthias Krüger-172/+201
rustc-dev-guide subtree update r? ``@ghost``
2025-05-15Merge from rustcThe rustc-dev-guide Cronjob Bot-25/+50
2025-05-15Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-05-15avoid upstream pull conflictTshepang Mbambo-1/+1
We changed this line and have not pushed it upstream yet, and upstream changed it in the meanwhile.
2025-05-15Merge pull request #2373 from rust-lang/tshepang-patch-2Tshepang Mbambo-4/+5
avoid duplicating commands
2025-05-15Merge pull request #2379 from rust-lang/tshepang-which-chapterTshepang Mbambo-25/+31
clean TypeFold* chapter
2025-05-15Merge pull request #2380 from rust-lang/tshepang-crate-cleaningTshepang Mbambo-127/+139
clean our crates
2025-05-14Rollup merge of #140904 - ehuss:future-incompat-template, r=Mark-SimulacrumMatthias Krüger-33/+3
Add an issue template for future-incompatible lints This adds a GitHub issue template for future-incompatible lints. Most of the existing tracking issues have been using different formats with different information, and I think it would be helpful to make them a little more consistent and to ensure that sufficient information is provided. Some comments on my choices: * Added a dedicated section to describe *why* the change is being made. Many existing issues already have this, so let's standardize on it. * Have a section with a very clear example. Almost all of the existing issues have this in one form or another. * Added a "Recommendations" section, since this is something I see missing in several of the existing issues, and this is really important information IMHO. * I reworded the "When" section. The existing template mentioned that these get reviewed every 6 weeks which my understanding is not true. That's also not very helpful information to the user, since it doesn't really answer the question. I'm not sure this section will actually be useful since I suspect most of the time we don't know when it will change (there have been a few exceptions). * Clearly show the expected progression steps. Several issues already have this. * Added implementation history, which is useful for linking PRs. (IDK, this could get merged with "Steps".)
2025-05-14Fix link to GatherBorrowsLi-yao Xia-1/+1
2025-05-13Auto merge of #140887 - pietroalbini:pa-bootstrap-update, r=compiler-errorsbors-1/+1
Stage0 bootstrap update This PR [follows the release process](https://forge.rust-lang.org/release/process.html#master-bootstrap-update-tuesday) to update the stage0 compiler. The only thing of note is https://github.com/rust-lang/rust/commit/58651d1b316e268fac2100c3ae37bb502a36b8ba, which was flagged by clippy as a correctness fix. I think allowing that lint in our case makes sense, but it's worth to have a second pair of eyes on it. r? `@Mark-Simulacrum`
2025-05-12remove dangling referencesTshepang Mbambo-3/+0
2025-05-12Fix typosomahs-12/+12
2025-05-12update version placeholdersPietro Albini-1/+1
2025-05-12Merge pull request #2378 from smanilov/patch-7许杰友 Jieyou Xu (Joe)-3/+0
2025-05-12Remove n.b. about parser refactoringStan Manilov-3/+0
Discussed in PR 2378; the note was outdated.
2025-05-12Remove obsolete reference to `unsized_tuple_coercion`Zalathar-6/+6
2025-05-11Auto merge of #140842 - tmiasko:print-mono-items, r=saethlinbors-6/+2
Remove mono item collection strategy override from -Zprint-mono-items Previously `-Zprint-mono-items` would override the mono item collection strategy. When debugging one doesn't want to change the behaviour, so this was counter productive. Additionally, the produced behaviour was artificial and might never arise without using the option in the first place (`-Zprint-mono-items=eager` without `-Clink-dead-code`). Finally, the option was incorrectly marked as `UNTRACKED`. Resolve those issues, by turning `-Zprint-mono-items` into a boolean flag that prints results of mono item collection without changing the behaviour of mono item collection. For codegen-units test incorporate `-Zprint-mono-items` flag directly into compiletest tool. Test changes are mechanical. `-Zprint-mono-items=lazy` was removed without additional changes, and `-Zprint-mono-items=eager` was turned into `-Clink-dead-code`. Linking dead code disables internalization, so tests have been updated accordingly.
2025-05-11Add an issue template for future-incompatible lintsEric Huss-33/+3
2025-05-11Rollup merge of #140882 - Dietr1ch:dev/duration_constructors_lite, r=BurntSushiLeón Orell Valerian Liehr-1/+13
Split duration_constructors to get non-controversial constructors out This implements #140881
2025-05-10noiseTshepang Mbambo-2/+0
2025-05-10we are a collectiveTshepang Mbambo-1/+0
2025-05-10"cargo fmt"Tshepang Mbambo-18/+28
2025-05-10bump editionTshepang Mbambo-2/+2
2025-05-10no point versioning theseTshepang Mbambo-103/+108
They are internal tools.
2025-05-10add missing wordTshepang Mbambo-1/+1
2025-05-10last updated a year agoTshepang Mbambo-0/+1
2025-05-10sembrTshepang Mbambo-19/+13
2025-05-10reduce clutter when reading sourceTshepang Mbambo-8/+16
2025-05-10fix broken linksTshepang Mbambo-3/+3