about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2022-06-11Update the-doc-attribute.mdMuhammad Hamza-1/+3
2022-06-09Stabilize the `bundle` native library modifierVadim Petrochenkov-19/+20
2022-06-08Remove mention of -Zborrowck=mir with Polonius. (#1367)Eric Huss-1/+1
2022-06-08Update booksEric Huss-0/+0
2022-06-08Remove nll compare mode. (#1366)Eric Huss-20/+18
2022-06-08add section on user types (#1359)lcnr-0/+54
* add section on user types * line length * review * Update src/borrow_check/type_check.md Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-06-08Remove docYuki Okushi-44/+0
2022-06-08Make build scripts and proc macros work with the suggested rust-analyzer ↵Jonas Schievink-2/+9
config (#1365)
2022-06-07improve rustc_interface examples a little (#1362)Tshepang Mbambo-21/+35
2022-06-07Bump regex from 1.4.3 to 1.5.5 in /ci/date-check (#1364)dependabot[bot]-24/+10
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07Clarify cargo fallback behavior for rustup link (#1273)Andrew Dona-Couch -- GitHub drop ICE-0/+6
2022-06-06Remove explicit-generic-args-with-impl-trait docs from unstable bookNick Cameron-53/+0
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2022-06-04platform-support: add riscv32imac-unknown-xous-elfSean Cross-0/+52
Signed-off-by: Sean Cross <sean@xobs.io>
2022-05-30Update rustc-driver related examplesYuki Okushi-16/+19
2022-05-29Rollup merge of #97028 - ridwanabdillahi:pretty-printer, r=michaelwoeristerGuillaume Gomez-1/+3
Add support for embedding pretty printers via `#[debugger_visualizer]` attribute Initial support for [RFC 3191](https://github.com/rust-lang/rfcs/pull/3191) in PR https://github.com/rust-lang/rust/pull/91779 was scoped to supporting embedding NatVis files using a new attribute. This PR implements the pretty printer support as stated in the RFC mentioned above. This change includes embedding pretty printers in the `.debug_gdb_scripts` just as the pretty printers for rustc are embedded today. Also added additional tests for embedded pretty printers. Additionally cleaned up error checking so all error checking is done up front regardless of the current target. RFC: https://github.com/rust-lang/rfcs/pull/3191
2022-05-27Triage some date references related to traitsYuki Okushi-6/+7
2022-05-25Update booksEric Huss-0/+0
2022-05-24Cleanup rustdoc-internalsYuki Okushi-25/+8
2022-05-24Fix some wording on the "Incremental Compilation In Detail" pageYuki Okushi-2/+2
2022-05-24Exclude `tomlee.co` from link-checking (#1356)Yuki Okushi-1/+12
https://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/ returns 404 on CI even though it's not actually 404. So, that doesn't return any useful result, let's ignore it. Also, formatted the exclude list for readability.
2022-05-24Add support for embedding pretty printers via the `#[debugger_visualizer]` ↵ridwanabdillahi-1/+3
attribute. Add tests for embedding pretty printers and update documentation. Ensure all error checking for `#[debugger_visualizer]` is done up front and not when the `debugger_visualizer` query is run. Clean up potential ODR violations when embedding pretty printers into the `__rustc_debug_gdb_scripts_section__` section. Respond to PR comments and update documentation.
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-20/+0
2022-05-21Add note about patching dependencies and warnings. (#1354)Eric Huss-0/+6
2022-05-20Rollup merge of #97203 - ehuss:rustc-summary-formatting, r=Dylan-DPCMatthias Krüger-20/+20
Minor tweaks to rustc book summary formatting. This includes a few minor tweaks to the summary/titles of chapters for the rustc book: * Use a consistent chapter capitalization and hyphenation. * Move "Codegen Options" underneath "Command-line Arguments". I feel like they are two closely related chapters, where codegen is just a subset of the total arguments. * Move "Target Tier Policy" underneath "Platform Support". That chapter includes that policy for platform support, and thus I feel it is more closely related to that grouping.
2022-05-20make sentence more simple (#1353)Tshepang Lekhonkhobe-1/+1
2022-05-19Minor tweaks to rustc book summary formatting.Eric Huss-20/+20
2022-05-20Fix typoydah-2/+2
This PR is fixes typo "avaiable" to "available".
2022-05-17Update some links and docs (#1340)Yuki Okushi-25/+26
2022-05-16Replace a broken YouTube link (#1295)Yuki Okushi-3/+6
2022-05-16Edit the "Compiler Source Code" chapter (#1307)pierwill-23/+25
Co-authored-by: Noah Lev <camelidcamel@gmail.com> Co-authored-by: pierwill <pierwill@users.noreply.github.com> Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-05-15Rollup merge of #97021 - Volker-Weissmann:patch-1, r=Dylan-DPCDylan DPC-1/+4
Added note in documentation I added this note, because if you forget the `--target` flags, you get a really ugly error message. https://github.com/rust-lang/cargo/issues/10666
2022-05-15Auto merge of #96885 - petrochenkov:linkstrict2, r=cjgillot,luqmanabors-1/+2
rustc: Stricter checking for #[link] attributes A subset of https://github.com/rust-lang/rust/pull/94962 that doesn't touch library renaming/reordering/deduplication. `#[link]` attributes are checked for all kinds of unexpected arguments inside them. I also tried to make wording for these errors more consistent, that's why some existing errors are changed, including errors for command line `-l` options. Spans are also made more precise where possible.
2022-05-15rustc: Stricter checking for #[link] attributesVadim Petrochenkov-1/+2
2022-05-14Update documentation about themesGuillaume Gomez-12/+10
2022-05-13Add LLVM based mingw-w64 targetsMateusz Mikuła-0/+51
2022-05-13Added note in documentationVolker-Weissmann-1/+4
I added this note, because if you forget the `--target` flags, you get a really ugly error message. https://github.com/rust-lang/cargo/issues/10666
2022-05-12Fix platform support links.Eric Huss-1/+1
2022-05-12Rollup merge of #95896 - nagisa:nvptx-contacts, r=Mark-SimulacrumMatthias Krüger-0/+58
Note the contacts for the nvptx64 target(s) cc `@RDambrosio016` `@kjetilkjeka`
2022-05-12Add docs for logging of queries. (#1350)Eric Huss-0/+24
2022-05-12Fix configuration names for vscode/r-a (#1352)Waffle Maybe-2/+2
2022-05-12Update docs for deprecated attribute (#1338)Jacob Pratt-18/+15
2022-05-10Update booksEric Huss-0/+0
2022-05-10Update overview.md (#1351)Soroush Zare-1/+1
Fix minor typo
2022-05-10Rollup merge of #93661 - ehuss:add-missing-rustc-arg-docs, ↵Dylan DPC-0/+44
r=estebank,Mark-Simulacrum Add missing rustc arg docs Add documentation for recently added rustc args `-C symbol-mangling-version` was stabilized in #90128. `--json=future-incompat` was stabilized in #91535.
2022-05-09Update date references on parallel-rustc (#1348)Yuki Okushi-13/+13
2022-05-09mention `WithOptConstParam` (#1346)lcnr-0/+8
2022-05-09Fix format (#1349)Yutaro Ohno-1/+1
2022-05-07Rollup merge of #96636 - GuillaumeGomez:fix-jump-to-def-regression, r=notriddleGuillaume Gomez-0/+7
Fix jump to def regression https://github.com/rust-lang/rust/pull/93803 introduced a regression in the "jump to def" feature. This fixes it. Nice side-effect: it adds a new regression test. :) I also used this opportunity to add documentation about this unstable feature in the rustdoc book. cc ``@cjgillot`` r? ``@notriddle``
2022-05-07correct type of SubstsRef (#1347)Ali MJ Al-Nasrawy-1/+1
2022-05-06Add rustdoc documentation about unstable feature "jump to def"Guillaume Gomez-0/+7