about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
2025-04-16Improve `borrowck_graphviz_*` documentation.Nicholas Nethercote-1/+2
In particular, `borrowck_graphviz_preflow` no longer exists.
2025-04-16Rename `LifetimeName` as `LifetimeKind`.Nicholas Nethercote-4/+4
It's a much better name, more consistent with how we name such things. Also rename `Lifetime::res` as `Lifetime::kind` to match. I suspect this field used to have the type `LifetimeRes` and then the type was changed but the field name remained the same.
2025-04-15document `include` in `bootstrap.example.toml`onur-ozkan-2/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-04-15document config extensionsonur-ozkan-0/+36
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-04-14Merge pull request #2333 from rust-lang/convetions-chapt-cleaningTshepang Mbambo-32/+33
Coding conventions chapter cleaning
2025-04-14clean "Coding conventions" chapterTshepang Mbambo-32/+33
- use correct code block markers - add missing title - rustfmt can now use edition setting in its config ... and this is set in Rust repo - reduce visual noise - needless repetition - convention is to start sentence with upper case - sembr - whitespace - semi-heading not adding much value - fix grammar
2025-04-14Documentation fixes.Nicholas Nethercote-25/+19
Remove old references to the HIR map.
2025-04-13Merge pull request #2334 from rust-lang/consistency许杰友 Jieyou Xu (Joe)-45/+44
2025-04-13tests: document `-A {unused,internal_features}` ui test mode presetsJieyou Xu-0/+23
2025-04-13Rollup merge of #139618 - petrochenkov:virsugg, r=jieyouxuChris Denton-17/+39
compiletest: Make `SUGGESTION` annotations viral If one of them is expected in a test file, then others should be annotated as well, in the same way as with `HELP`s and `NOTE`s. This doesn't require much of an additional annotation burden, but simplifies the rules. r? ```@jieyouxu```
2025-04-12Enable [canonicalize-issue-links] and [no-mentions] in triagebot.tomlUrgau-0/+4
2025-04-12use consistent title capitalizationTshepang Mbambo-45/+44
2025-04-12fix pathTshepang Mbambo-1/+1
2025-04-12Merge pull request #2330 from rust-lang/tshepang-patch-5Tshepang Mbambo-3/+3
date-check rdg contribution section
2025-04-12date-check rdg contribution sectionTshepang Mbambo-3/+3
2025-04-12Merge pull request #2327 from rust-lang/tshepang-patch-1许杰友 Jieyou Xu (Joe)-1/+1
2025-04-12Merge pull request #2329 from rust-lang/tshepang-patch-4Tshepang Mbambo-1/+1
add missing word
2025-04-12add missing wordTshepang Mbambo-1/+1
2025-04-12remove implied textTshepang Mbambo-1/+1
"how much to trust" implies the opposite
2025-04-12use more simple languageTshepang Mbambo-1/+1
Not obvious what "sort by" means
2025-04-12ease copy-pasteTshepang Mbambo-2/+4
2025-04-12Update "crater" link to actually point to crater.mdFreya Arbjerg-1/+1
2025-04-11Document that `opt-dist` requires metrics to be enabledJakub Beránek-2/+7
2025-04-11Merge pull request #2320 from smanilov/patch-1Tshepang Mbambo-14/+22
Update table of contents in about-this-guide.md
2025-04-11Update table of contents in about-this-guide.mdStan Manilov-14/+22
1. added two new parts: Bootstrapping and Supporting Infrastructure; 2. touched up names of pre-existing parts, to match actual names in sidebar; 3. syntactic nits (start description of Analysis with a capital letter); and 4. make numbered list use only 1. Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2025-04-11Auto merge of #139578 - ferrocene:pa-compiletest-edition, r=jieyouxubors-8/+8
Fix breakage when running compiletest with `--test-args=--edition=2015` Compiletest has an `--edition` flag to change the default edition tests are run with. Unfortunately no test suite successfully executes when that flag is passed. If the edition is set to something greater than 2015 the breakage is expected, since the test suite currently supports only edition 2015 (Ferrous Systems will open an MCP about fixing that soonish). Surprisingly, the test suite is also broken if `--edition=2015` is passed to compiletest. This PR focuses on fixing the latter. This PR fixes the two categories of failures happening when `--edition=2015` is passed: * Some edition-specific tests set their edition through `//@ compile-flags` instead of `//@ edition`. Compiletest doesn't parse the compile flags, so it would see no `//@ edition` and add another `--edition` flag, leading to a rustc error. * Compiletest would add the edition after `//@ compile-flags`, while some tests depend on flags passed to `//@ compile-flags` being the last flags in the rustc invocation. Note that for the first category, I opted to manually go and replace all `//@ compile-flags` setting an edition with an explicit `//@ edition`. We could've changed compiletest to instead check whether an edition was set in `//@ compile-flags`, but I thought it was better to enforce a consistent way to set the edition in tests. I also added the edition to the stamp, so that changing `--edition` results in tests being re-executed. r? `@jieyouxu`
2025-04-11Fix link to rustc_* TEST attributes in ui.mdStan Manilov-1/+1
2025-04-10dev-guide: Document `dont-require-annotations`Vadim Petrochenkov-17/+39
and its use cases in more detail
2025-04-10mention --edition restrictions in rustc-dev-guidePietro Albini-8/+8
2025-04-10rustc-dev-guide: document `needs-crate-type`Jieyou Xu-1/+6
2025-04-09Remove redundant wordstimesince-1/+1
2025-04-07improve flowTshepang Mbambo-2/+3
2025-04-07Merge from rustcThe rustc-dev-guide Cronjob Bot-0/+3
2025-04-07Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-04-06Fix deadlink in libs-and-metadata.mdLevi Zim-1/+1
2025-04-04Update book.toml fix the authors fieldGábor Szabó-1/+1
See https://rust-lang.github.io/mdBook/format/configuration/general.html#general-metadata
2025-04-03add some links about the rustdoc-gui test suitebinarycat-1/+5
2025-04-03Auto merge of #139301 - matthiaskrgr:rollup-sa6ali8, r=matthiaskrgrbors-410/+543
Rollup of 7 pull requests Successful merges: - #139080 (Experimental feature gate for `super let`) - #139145 (slice: Remove some uses of unsafe in first/last chunk methods) - #139149 (unstable book: document import_trait_associated_functions) - #139273 (Apply requested API changes to `cell_update`) - #139282 (rustdoc: make settings checkboxes always square) - #139283 (Rustc dev guide subtree update) - #139294 (Fix the `f16`/`f128` feature gates on integer literals) r? `@ghost` `@rustbot` modify labels: rollup
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-0/+3
2025-04-03test directive can appear anywhere in the fileTshepang Mbambo-1/+2
2025-04-02Merge from rustcJieyou Xu-11/+49
2025-04-02Preparing for merge from rustcJieyou Xu-1/+1
2025-03-30Fix partial clone linkclubby789-1/+1
2025-03-30add rustfmt settings fileTshepang Mbambo-127/+39
2025-03-30example assumes a static existsTshepang Mbambo-2/+2
This was removed, likely by mistake, during a refactor.
2025-03-29update rustc-{driver,interface} examplesTshepang Mbambo-13/+12
2025-03-29Merge pull request #2289 from y1lan/fix_compiler_err_of_examplesTshepang Mbambo-17/+16
Fix compile errors of all the examples
2025-03-30Merge pull request #2288 from rust-lang/tshepang-known-bug-takes-args许杰友 Jieyou Xu (Joe)-0/+8
mention that known-bug test directive takes arguments
2025-03-29mention that know-bug test directive takes argumentsTshepang Mbambo-0/+8
2025-03-29compiletest: Support matching diagnostics on lines belowVadim Petrochenkov-0/+15