about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2019-08-21fix linksMark Mansi-2/+2
2019-08-20Update booksEric Huss-0/+0
2019-08-19rustc: implement argsfiles for command lineJeremy Fitzhardinge-0/+7
This makes `rustc` support `@path` arguments on the command line. The `path` is opened and the file is interpreted as new command line options which are logically inserted at that point in the command-line. The options in the file are one per line. The file is UTF-8 encoded, and may have either Unix or Windows line endings. It does not support recursive use of `@path`. This is useful for very large command lines, or when command-lines are being generated into files by other tooling.
2019-08-20Deprecate using rustc_plugin without the rustc_driver dylib.Simon Sapin-6/+6
CC https://github.com/rust-lang/rust/pull/59800 https://github.com/rust-lang/rust/commit/7198687bb2df13a3298ef1e8f594753073d6b9e8 Fix https://github.com/rust-lang/rust/issues/62717
2019-08-17Fix a typo in the implied bounds section of traits/lowering-rulesPaul Daniel Faria-1/+1
2019-08-17initial implementation of or-pattern parsingDan Robertson-0/+36
Initial implementation of parsing or-patterns e.g., `Some(Foo | Bar)`. This is a partial implementation of RFC 2535.
2019-08-14document how to use system llvmAleksey Kladov-0/+12
2019-08-13fix broken link (#421)Who? Me?!-1/+1
2019-08-08Rollup merge of #63353 - ehuss:update-books, r=ehussMazdak Farrokhzad-0/+0
Update books ## nomicon 1 commits in b7f0aba2f88a8feade70595efcfa3438e54e96c0..8a7d05615e5bc0a7fb961b4919c44f5221ee54da 2019-07-11 15:11:36 -0400 to 2019-08-07 07:46:59 -0500 - s/railguard/guardrail/ (rust-lang-nursery/nomicon#156) ## reference 5 commits in 8e7d614303b0dec7492e048e63855fcd3b944ec8..b4b3536839042a6743fc76f0d9ad2a812020aeaa 2019-07-16 21:02:33 +0100 to 2019-08-07 02:29:50 +0200 - Update partially initialized values in drop documentation. (rust-lang-nursery/reference#648) - Define sound and unsound (rust-lang-nursery/reference#647) - Fix a type in the modules section: functions => modules (rust-lang-nursery/reference#645) - Fix some links. (rust-lang-nursery/reference#642) - Update recursion_limit default limit (rust-lang-nursery/reference#633) ## rust-by-example 14 commits in e3679e214d8db44586aca9b20aa27517007d1923..f2c15ba5ee89ae9469a2cf60494977749901d764 2019-07-15 11:13:44 -0300 to 2019-08-07 10:14:25 -0300 - Remove redundant semicolons (rust-lang/rust-by-example#1239) - Rename "Read Lines" chapter title (rust-lang/rust-by-example#1230) - Added space between word and inline code block in unit_testing.md (rust-lang/rust-by-example#1237) - [typo] fix unit_testing wrong output (rust-lang/rust-by-example#1210) - flow_control/match/binding.md: `...' -> `..=' (rust-lang/rust-by-example#1233) - generics/impl.md: follow rustfmt style (rust-lang/rust-by-example#1236) - freeze.md: Incorrect example (rust-lang/rust-by-example#1226) - Make `point` consistent (rust-lang/rust-by-example#1229) - Fix typo at error -> panic (rust-lang/rust-by-example#1227) - Snake didn't deserve to die 🐍 (rust-lang/rust-by-example#1228) - Reorder links in destructuring.md (rust-lang/rust-by-example#1225) - Rename variable names for consistent in iter_result.md (rust-lang/rust-by-example#1224) - Fix several shell output and code highlights. (rust-lang/rust-by-example#1222) - Add new example for Rc. (rust-lang/rust-by-example#1223) ## edition-guide 5 commits in f6c8b92d4e63edd28e862be952f33861f35956f8..e58bc4ca104e890ac56af846877c874c432a64b5 2019-07-06 22:10:32 +0200 to 2019-07-31 20:14:12 +0200 - Hide extraneous `use` in anonymous lifetime example. (rust-lang-nursery/edition-guide#190) - Attempt to clarify "no more mod.rs". (rust-lang-nursery/edition-guide#187) - Remove -preview for rustup components. (rust-lang-nursery/edition-guide#188) - rust-lang-nursery/edition-guide#184 More clear explanation and Title. (rust-lang-nursery/edition-guide#185) - More clear table headers (rust-lang-nursery/edition-guide#186) ## embedded-book 2 commits in ff334e74fdb9f197e621efa6d7c3105be892e888..c5da1e11915d3f28266168baaf55822f7e3fe999 2019-07-16 13:47:34 +0000 to 2019-08-05 23:02:10 +0000 - install/verify: fix next section link (rust-embedded/book#202) - Syst small fix (rust-embedded/book#198)
2019-08-08Rollup merge of #63334 - mark-i-m:fix-guide, r=ehussMazdak Farrokhzad-0/+0
Update to rustc-guide that passes toolstate r? @ehuss Sorry for the trouble. I've been somewhat hard to reach lately. Thanks for your help!
2019-08-07Update booksEric Huss-0/+0
2019-08-06passify tidyMark Mansi-0/+0
2019-08-06redox: convert to target_family unixJeremy Soller-5/+0
2019-08-06Remove leading new lineWho? Me?!-0/+1
2019-08-06update to rustc-guide that passes toolstateMark Mansi-0/+0
2019-08-05fix awkward sentence structure (#410)Tshepang Lekhonkhobe-1/+1
2019-08-05update link (#411)Tshepang Lekhonkhobe-1/+1
2019-08-05fix typo (#412)Tshepang Lekhonkhobe-1/+1
2019-08-05a colon there is unusual (#415)Tshepang Lekhonkhobe-1/+1
2019-08-05hack around timeouts (#416)Who? Me?!-2/+25
2019-08-01run-pass dir is gone (#409)Tshepang Lekhonkhobe-16/+13
Fixes #405
2019-08-01Fix typos.Bruce Mitchener-7/+7
2019-08-01Fix broken links.Bruce Mitchener-1/+1
2019-08-01Fix experts map linkSantiago Pastorino-1/+1
2019-07-31Replace AstBuilder with inherent methodsMark Rousskov-8/+0
2019-07-30Auto merge of #62766 - alexcrichton:stabilize-pipelined-compilation, r=oli-obkbors-0/+33
rustc: Stabilize options for pipelined compilation This commit stabilizes options in the compiler necessary for Cargo to enable "pipelined compilation" by default. The concept of pipelined compilation, how it's implemented, and what it means for rustc are documented in #60988. This PR is coupled with a PR against Cargo (rust-lang/cargo#7143) which updates Cargo's support for pipelined compliation to rustc, and also enables support by default in Cargo. (note that the Cargo PR cannot land until this one against rustc lands). The technical changes performed here were to stabilize the functionality proposed in #60419 and #60987, the underlying pieces to enable pipelined compilation support in Cargo. The issues have had some discussion during stabilization, but the newly stabilized surface area here is: * A new `--json` flag was added to the compiler. * The `--json` flag can be passed multiple times. * The value of the `--json` flag is a comma-separated list of directives. * The `--json` flag cannot be combined with `--color` * The `--json` flag must be combined with `--error-format=json` * The acceptable list of directives to `--json` are: * `diagnostic-short` - the `rendered` field of diagnostics will have a "short" rendering matching `--error-format=short` * `diagnostic-rendered-ansi` - the `rendered` field of diagnostics will be colorized with ansi color codes embedded in the string field * `artifacts` - JSON blobs will be emitted for artifacts being emitted by the compiler The unstable `-Z emit-artifact-notifications` and `--json-rendered` flags have also been removed during this commit as well. Closes #60419 Closes #60987 Closes #60988
2019-07-29Rollup merge of #63077 - petrochenkov:nolangfeat, r=petrochenkovMazdak Farrokhzad-0/+0
cleanup: Remove some language features related to built-in macros They are now library features. Cleanup after https://github.com/rust-lang/rust/pull/62086. The unstable book files are moved because tidy complained.
2019-07-28cleanup: Remove some language features related to built-in macrosVadim Petrochenkov-0/+0
They are now library features.
2019-07-28Update unstable book wrt. subslice patterns.Mazdak Farrokhzad-1/+1
2019-07-27Remove run-pass test suitesVadim Petrochenkov-1/+1
2019-07-26rustc: Stabilize options for pipelined compilationAlex Crichton-0/+33
This commit stabilizes options in the compiler necessary for Cargo to enable "pipelined compilation" by default. The concept of pipelined compilation, how it's implemented, and what it means for rustc are documented in #60988. This PR is coupled with a PR against Cargo (rust-lang/cargo#7143) which updates Cargo's support for pipelined compliation to rustc, and also enables support by default in Cargo. (note that the Cargo PR cannot land until this one against rustc lands). The technical changes performed here were to stabilize the functionality proposed in #60419 and #60987, the underlying pieces to enable pipelined compilation support in Cargo. The issues have had some discussion during stabilization, but the newly stabilized surface area here is: * A new `--json` flag was added to the compiler. * The `--json` flag can be passed multiple times. * The value of the `--json` flag is a comma-separated list of directives. * The `--json` flag cannot be combined with `--color` * The `--json` flag must be combined with `--error-format=json` * The acceptable list of directives to `--json` are: * `diagnostic-short` - the `rendered` field of diagnostics will have a "short" rendering matching `--error-format=short` * `diagnostic-rendered-ansi` - the `rendered` field of diagnostics will be colorized with ansi color codes embedded in the string field * `artifacts` - JSON blobs will be emitted for artifacts being emitted by the compiler The unstable `-Z emit-artifact-notifications` and `--json-rendered` flags have also been removed during this commit as well. Closes #60419 Closes #60987 Closes #60988
2019-07-25Fix miscellaneous spelling typos. (#397)Brian Foley-10/+10
2019-07-25Place is now a struct on nightlySantiago Pastorino-2/+2
2019-07-25Rollup merge of #60938 - jonas-schievink:doc-include-paths, r=petrochenkovMazdak Farrokhzad-3/+2
rustdoc: make #[doc(include)] relative to the containing file This matches the behavior of other in-source paths like `#[path]` and the `include_X!` macros. Fixes https://github.com/rust-lang/rust/pull/58373#issuecomment-462349380 Also addresses https://github.com/rust-lang/rust/issues/44732#issuecomment-467660239 cc #44732 This is still missing a stdsimd change (https://github.com/jonas-schievink/stdsimd/commit/42ed30e0b5fb5e2d11765b5d1e1f36234af85984), so CI will currently fail. I'll land that change once I get initial feedback for this PR.
2019-07-23Normalize use of backticks in compiler messages for docSamy Kacimi-22/+22
https://github.com/rust-lang/rust/issues/60532
2019-07-23Adjust docs to new #[doc(include)] behaviourJonas Schievink-3/+2
2019-07-22write a short paragraph about the new lexerAleksey Kladov-0/+13
2019-07-22Fix macro syntax errorIlija Tovilo-2/+2
2019-07-22Fix typoIlija Tovilo-1/+1
2019-07-20Fix typoIlija Tovilo-1/+1
2019-07-19Update install.shWho? Me?!-1/+1
2019-07-19Update mdbookWho? Me?!-1/+1
2019-07-18Auto merge of #61749 - davidtwco:rfc-2203-const-array-repeat-exprs, r=eddybbors-0/+11
rustc/rustc_mir: Implement RFC 2203. This PR implements RFC 2203, allowing constants in array repeat expressions. Part of #49147. r? @eddyb
2019-07-17Update mdbook, cargo, booksEric Huss-13/+13
This updates the last of the books using mdbook 0.1, finally removing it from the build.
2019-07-17add nomicon intro tooMark Mansi-0/+1
2019-07-17break rustMark Mansi-0/+1
2019-07-17Add colonYuki Okushi-1/+1
2019-07-17Move into rust-langYuki Okushi-3/+3
2019-07-17Minor fix in borrow_checkYuki Okushi-11/+6
Fixes as follows: - fixes spelling - removes unnecessary white spaces and blank lines
2019-07-17Document `--pass $mode`Yuki Okushi-0/+17