about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2020-04-09Fix JSON file_name documentation for macros.Eric Huss-2/+5
2020-04-09Rollup merge of #70918 - tobithiel:fix_forbid_override, r=davidtwcoMazdak Farrokhzad-1/+1
rustc_session: forbid lints override regardless of position Addresses the regression reported in #70819 for command line arguments, but does not address the source code flag regression.
2020-04-08Add section describing source file checksums in debug infoArlo Siemsen-4/+39
2020-04-08update rusct-dev-guidemark-0/+0
2020-04-08fix a link (#672)Who? Me?!-1/+1
2020-04-07rustc_session: forbid lints override regardless of positionTobias Thiel-1/+1
2020-04-07Corrects a typo in rustdoc documentation.Theo Sandstrom-3/+3
Fixes rust-lang#70856
2020-04-07mark-i-m review editsChris Simpkins-6/+6
2020-04-07consistent section title casingChris Simpkins-3/+3
2020-04-07update about-this-guide.md with new Guide sectionsChris Simpkins-11/+11
2020-04-06update rustc-dev-guidemark-0/+0
2020-04-06Bump rust-by-example submoduleLinus Färnstrand-0/+0
2020-04-06Bump nomicon submoduleLinus Färnstrand-0/+0
2020-04-06Reorganize the guide (#651)Who? Me?!-60/+139
* start on guide reorg * backend intro * part 2, 3, 4 intros * some missing files * Fix typos Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com> Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com> * add links from intro * rename compiler source chapter and add placeholder for overview * rename parts, mv rustc_driver to part 3, make syntax chapter * update part intros * add syntax ch intro * address review comments * Better overview chapter placeholder Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com> * fix link Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com> Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-04-06Remove duplicate trait reference entry from glossary, fix alphabetical sortingPaul Daniel Faria-3/+2
2020-04-05update to mdbook 0.3.5mark-1/+1
2020-04-05Rework commit messageLeSeulArtichaut-3/+11
2020-04-05Note that the invocation now are aliasesLeSeulArtichaut-0/+5
2020-04-05Change ICE-breaker ping to use the aliasesLeSeulArtichaut-2/+2
Related to rust-lang/rust#69949
2020-04-05Wrap link in borrow_check.md to satify line length checksPaul Daniel Faria-2/+2
2020-04-05Add ids to all glossary items, make existing glossary links point to ↵Paul Daniel Faria-89/+90
glossary, add links for def id in query.md
2020-04-04remove stupid-stats, and some references to removed APITshepang Lekhonkhobe-431/+10
2020-04-04Update .gitignoreWho? Me?!-0/+3
2020-04-04Auto merge of #69898 - spastorino:rename-rustc-guide2, r=Xanewokbors-0/+0
Move rustc-guide submodule to rustc-dev-guide r? @pietroalbini
2020-04-04[README.md] add build instructions, link check config instructions, link ↵Chris Simpkins-6/+62
check error documentation
2020-04-04add pre-requisite for calling into compiler API (#663)Tshepang Lekhonkhobe-0/+4
2020-04-04Auto merge of #69718 - arlosi:debughash, r=eddybbors-0/+11
Add hash of source files in debug info LLVM supports placing the hash of source files inside the debug info. This information can be used by a debugger to verify that the source code matches the executable. This change adds support for both hash algorithms supported by LLVM, MD5 and SHA1, controlled by a target option. * DWARF only supports MD5 * LLVM IR supports MD5 and SHA1 (and SHA256 in LLVM 11). * CodeView (.PDB) supports MD5, SHA1, and SHA256. Fixes #68980. Tracking issue: #70401 rustc dev guide PR with further details: https://github.com/rust-lang/rustc-dev-guide/pull/623
2020-04-03Auto merge of #70156 - michaelwoerister:incr-cgus, r=nikomatsakisbors-3/+2
Make the rustc respect the `-C codegen-units` flag in incremental mode. This PR implements (the as of yet unapproved) major change proposal at https://github.com/rust-lang/compiler-team/issues/245. See the description there for background and rationale. The changes are pretty straightforward and should be easy to rebase if the proposal gets accepted at some point. r? @nikomatsakis cc @pnkfelix
2020-04-03Add BodyId to glossary, and links for ids to HIR identifiers section (#660)Paul Daniel Faria-3/+4
2020-04-02remove confusing about lvalues term@ßd€łw@ħ@ß-1/+1
2020-04-02Add hash of source files in debug infoArlo Siemsen-0/+11
* Adds either an MD5 or SHA1 hash to the debug info. * Adds new unstable option `-Z src-hash-algorithm` to control the hashing algorithm.
2020-04-02fix type in operands section@ßd€łw@ħ@ß-1/+1
2020-04-02Update some projects locations (#658)Santiago Pastorino-11/+11
2020-04-02Add missing markdown rust annotationlzutao-2/+2
2020-04-01Shorten lineWho? Me?!-1/+1
2020-04-01Update src/SUMMARY.mdGeorge Fraser-1/+1
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-04-01Update src/rustc-driver-interacting-with-the-ast.mdGeorge Fraser-2/+2
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-04-01How to get the type of an expression using rustc_interfaceGeorge Fraser-0/+42
2020-04-01Remove left overs from HackMD migration (#655)Santiago Pastorino-4/+0
2020-04-01Update -Ccodegen-units docs wrt incr. comp. in rustc book.Michael Woerister-3/+2
2020-04-01Add git repo address to unstable booklzutao-0/+3
2020-04-01Resolver trait moved (#652)Tshepang Lekhonkhobe-2/+3
2020-04-01add link for Resolver::resolve_crate (#653)Tshepang Lekhonkhobe-1/+3
2020-04-01add some type inference links, and fix/improve some stuff (#654)Tshepang Lekhonkhobe-8/+16
2020-03-31it is rustc_parse, not rustc_parserTshepang Lekhonkhobe-1/+1
2020-03-31follow 4-space indent idiomTshepang Lekhonkhobe-16/+17
2020-03-31point to new Cranelift homeTshepang Lekhonkhobe-2/+2
2020-03-31fix broken linksAdam Perry-4/+4
2020-03-31Implicit Caller Location section.Adam Perry-0/+281
2020-04-01Rollup merge of #70630 - ehuss:update-books, r=ehussDylan DPC-0/+0
Update books. ## reference 2 commits in e2f11fe4d6a5ecb471c70323197da43c70cb96b6..89dd146154474559536d5d4049a03831c501deea 2020-03-10 06:59:24 +0100 to 2020-03-31 09:42:10 -0700 - Clarify rule for end-of-line backslashes in strings (rust-lang-nursery/reference#784) - Fix and clarify section on re-export (rust-lang-nursery/reference#780) ## book 1 commits in 6fb3705e5230311b096d47f7e2c91f9ce24393d0..c8841f2841a2d26124319ddadd1b6a245f9a1856 2020-02-12 13:48:57 -0500 to 2020-03-22 09:07:01 -0500 - Fix broken front_of_house.rs test on nightly. (rust-lang/book#2289) ## rust-by-example 7 commits in cb369ae95ca36b841960182d26f6d5d9b2e3cc18..edd2a7e687358712608896730c083cb76c7b401a 2020-03-14 12:13:22 -0500 to 2020-03-30 09:37:29 -0300 - feat: add doc attributes section to documentation (rust-lang/rust-by-example#1323) - feat: add playpen topic (rust-lang/rust-by-example#1324) - feat: add sentence about rustdoc & std library (rust-lang/rust-by-example#1322) - fix: make spelling/style of rustdoc consistent (rust-lang/rust-by-example#1321) - Rewrite section on 'static lifetime. (rust-lang/rust-by-example#1320) - Remove deprecated `std::error::Error` functions and other minor changes (rust-lang/rust-by-example#1319) - Remove mdbook version flags from README (rust-lang/rust-by-example#1318) ## nomicon 1 commits in 9f797e65e6bcc79419975b17aff8e21c9adc039f..411197b0e77590c967e37e8f6ec681abd359afe8 2020-03-04 03:45:13 +0100 to 2020-03-31 20:46:09 +0200 - Fix negative_impls feature. (rust-lang-nursery/nomicon#205)