Commit Graph

975 Commits

Author SHA1 Message Date
Ralf Jung f07e1f9adf apply linebreaks 2019-11-05 12:33:38 -06:00
Ralf Jung b69fcafb51 expand and update Miri description 2019-11-05 12:33:38 -06:00
Mark Mansi e44ca1f9d1 fix broken links 2019-11-05 11:58:33 -06:00
Mark Mansi 694d870cdc add discussion transcript so we don't lose it 2019-11-05 11:56:47 -06:00
Mark Mansi dcd2b0c5d7 add guidelines for future-incompat lints 2019-11-05 11:56:31 -06:00
Eric Huss d3bfd4ad13 Fix some broken fragment links. 2019-11-05 11:35:34 -06:00
Mazdak Farrokhzad 2dd722b173 Please don't rustfmt. 2019-11-05 09:10:33 -06:00
Tomasz Miąsko 06908de77f Sanitizers implementation in rustc 2019-11-05 09:05:38 -06:00
Alexander Regueiro a448c07a56 Updated instructions for tracking issue (#488)
* Updated instructions for tracking issue

Removed link to Forge instructions for documentation since they no longer seem to exist.

* Improved links and wording
2019-11-01 14:36:47 -03:00
Mark Rousskov 8b86a6ee91
Fixup links in lintstore docs (#487) 2019-10-30 09:32:16 -04:00
Mark Rousskov f668658233 Add some docs around the lint store (#476)
* Add some docs around the lint store

* Update src/diagnostics.md

Co-Authored-By: Niko Matsakis <niko@alum.mit.edu>

* restructure
2019-10-29 17:09:10 -04:00
Tshepang Lekhonkhobe 6f66e0573f fix some whitespace issues (#483)
Also, those are not sh scripts
2019-10-28 15:06:57 +09:00
Mazdak Farrokhzad 6dc2f38cd1 Explain `rustc_on_unimplemented` 2019-10-27 15:58:58 -04:00
Who? Me?! 51a4a72516 move readme to guide (#481) 2019-10-24 16:30:01 -03:00
CreepySkeleton 6fd627d6b8 Fix missing link (#480) 2019-10-24 15:54:40 -03:00
CreepySkeleton 518606ba21 Fix a typo (#477) 2019-10-24 02:42:52 +09:00
Niko Matsakis b7d9cee947 give instructions for how to ping the ICE-breaker teams (#475)
* give instructions for how to ping the ICE-breaker teams

* Update src/ice-breaker/about.md

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>

* add links
2019-10-22 17:11:52 -03:00
Yuki Okushi 187765fba5
Update links (#472) 2019-10-18 16:22:17 +09:00
Tshepang Lekhonkhobe 232b35d75e format examples better (#471) 2019-10-17 21:03:46 -03:00
Tshepang Lekhonkhobe 4e87eb2fb8 fix links (#469) 2019-10-17 16:40:38 +09:00
Tshepang Lekhonkhobe 81fc310fda update link 2019-10-16 00:35:41 -05:00
Chris Emerson 300412da9e Fix some paths: tt -> mbe (#465) 2019-10-12 19:11:52 -03:00
Diogo Sousa 4a85f36f1c Updated kinds that were renamed to generic arguments.
This change happened in commit bea3d67c77dd643ef1f89c8bd6562e90b373cec4 on
rust-lang/rust.
2019-10-12 09:44:31 -05:00
Eric Huss 799082b340 Try to clarify how crates are able to access force-unstable dependencies
without a feature attribute.
2019-10-10 21:00:58 -05:00
Eric Huss e6f625f96e Expand on stability documentation. 2019-10-10 21:00:58 -05:00
Niko Matsakis ddd3d6abb7 reference the new PR mechanism (#463)
* reference the new PR mechanism

* wrap lines
2019-10-10 15:28:49 -03:00
Niko Matsakis b71b2a552f
create guide to ICE-breaker groups and specifically advice for LLVM (#452) 2019-10-02 16:18:28 -04:00
Tshepang Lekhonkhobe 37b288edd9 fix chalk links (#457)
* whitespace

* update links
2019-10-02 13:25:56 -03:00
Tshepang Lekhonkhobe fbe1a9a0c2 codegen unit is aka CGU (#459) 2019-10-02 13:25:14 -03:00
Mazdak Farrokhzad 7f27d2150e Update feature gating docs to fit reality (#455) 2019-10-01 08:40:58 -03:00
Mazdak Farrokhzad 02d96fdcd8 issues/issue-12345.rs is an anti-pattern (#456) 2019-10-01 08:39:48 -03:00
lzutao 9d1ffd3a0e Prefer https in GitHub pages urls (#454) 2019-09-30 11:26:27 -03:00
Tshepang Lekhonkhobe 7bed7de918 file has since been removed from content (#453)
Should of been part of 2ef961e454
2019-09-25 16:29:26 -03:00
Alex Crichton cc34e4a4c9
Update the "Updating LLVM" documentation (#451)
Make sure existing sections are up-to-date and then also add some words
about the recent convention we developed for updating LLVM versions with
respect to branch naming as well.
2019-09-20 14:08:46 -05:00
Youngsuk Kim 74d3b788ee minor typo fixes (#445)
* typo fix

how to expose the them to any sort of external testing apparatus
=> how to expose them to any sort of external testing apparatus

* typo fix

These following image depicts
=> The following image depicts

* typo fix

trait itself is found in in 
=> trait itself is found in

* Update src/mir/passes.md

following JohnTitor's suggestion

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>

* Update src/test-implementation.md

Also following JohnTitor's suggestion

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-09-16 17:34:03 -03:00
Youngsuk Kim 58f3730c0e typo fix (#444)
that would get compile to => that would get compiled to
2019-09-16 10:37:02 -03:00
Tshepang Lekhonkhobe 079a0dd092 typo (#441) 2019-09-08 02:05:22 -03:00
Mark Mansi 941968db2f hack + drive-by-fix 2019-09-05 19:04:33 -05:00
Mark Mansi a0c08c27e6 fix broken link 2019-09-05 16:58:38 -05:00
Edd Barrett 44b5ce2f1f Fix a link in the query docs. 2019-09-05 16:58:26 -05:00
varkor 20d27f2dda Update section on "existential type" to "opaque type" 2019-08-29 08:13:12 -05:00
Tshepang Lekhonkhobe 9c6beb5bdd merge libtest build step with libstd (#434)
Partially handles #431
2019-08-27 09:44:58 -03:00
Tshepang Lekhonkhobe 1c16c51dc5 immutable was meant here (#435) 2019-08-27 09:44:07 -03:00
Tshepang Lekhonkhobe 41b8b221be 'or' skipped 2019-08-26 18:14:02 -05:00
Ralf Jung 78b63d19e5 mention stable-in-unstable issue 2019-08-25 11:40:28 -05:00
Wesley Wiser ba26418f5e Improve "Profiling the compiler" docs
Add mentions and links to `rustc-perf` and `measureme`.
2019-08-25 11:39:11 -05:00
mark 3c0ddd7bf9 minor fixes 2019-08-24 22:06:59 -05:00
Oliver Scherer 3f0eadeff2 Update stability.md 2019-08-24 22:06:59 -05:00
Oliver Scherer c6f3317a60 Update stability.md 2019-08-24 22:06:59 -05:00
Oliver Scherer 80ede1ce13 Apply suggestions from code review
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-08-24 22:06:59 -05:00
Oliver Scherer 4f479f5bd5 Update src/stability.md
Co-Authored-By: Jake Goulding <shepmaster@mac.com>
2019-08-24 22:06:59 -05:00
Oliver Scherer 0fa1588dd2 Explain our stability attributes 2019-08-24 22:06:59 -05:00
mark 263b2a208a remove flaky link 2019-08-24 22:05:50 -05:00
Mark Mansi 6e25a3d0d3 fix links 2019-08-21 10:29:20 -05:00
Paul Daniel Faria 5919642a09 Fix a typo in the implied bounds section of traits/lowering-rules 2019-08-17 21:08:10 -05:00
Aleksey Kladov 6b6e6cc3bf document how to use system llvm 2019-08-14 08:26:07 -05:00
Who? Me?! b7f24940c0 fix broken link (#421) 2019-08-13 11:56:02 -03:00
Tshepang Lekhonkhobe 07dbcdec18 fix awkward sentence structure (#410) 2019-08-05 18:07:17 -03:00
Tshepang Lekhonkhobe 4ee7cdaea4 update link (#411) 2019-08-05 18:07:05 -03:00
Tshepang Lekhonkhobe b94deb1afe fix typo (#412) 2019-08-05 18:06:51 -03:00
Tshepang Lekhonkhobe 84aa3362e6 a colon there is unusual (#415) 2019-08-05 18:03:34 -03:00
Tshepang Lekhonkhobe bfe0a08ea4 run-pass dir is gone (#409)
Fixes #405
2019-08-01 23:25:07 -03:00
Bruce Mitchener 442aed9afe Fix typos. 2019-08-01 16:03:20 -05:00
Bruce Mitchener 69c17d9a5e Fix broken links. 2019-08-01 16:00:13 -05:00
Santiago Pastorino 588af16689 Fix experts map link 2019-08-01 15:59:45 -05:00
Brian Foley b4b7dca0d2 Fix miscellaneous spelling typos. (#397) 2019-07-25 19:25:26 -03:00
Santiago Pastorino 093e1f0169 Place is now a struct on nightly 2019-07-25 16:26:54 -05:00
Aleksey Kladov d8af1f7fff write a short paragraph about the new lexer 2019-07-22 00:19:17 -05:00
Ilija Tovilo 831a469050 Fix macro syntax error 2019-07-22 00:16:55 -05:00
Ilija Tovilo 18c466252e Fix typo 2019-07-22 00:05:54 -05:00
Ilija Tovilo c20647e978 Fix typo 2019-07-20 15:45:30 -05:00
Mark Mansi 248d8af35e add nomicon intro too 2019-07-17 12:41:18 -05:00
Mark Mansi ef9bc9d610 break rust 2019-07-17 12:41:18 -05:00
Yuki Okushi 7b106f9546 Add colon 2019-07-17 10:40:33 -05:00
Yuki Okushi fb3bf19590 Move into rust-lang 2019-07-17 10:40:33 -05:00
Yuki Okushi 1774649715 Minor fix in borrow_check
Fixes as follows:

- fixes spelling
- removes unnecessary white spaces and blank lines
2019-07-17 10:40:33 -05:00
Yuki Okushi fc18a79ef6 Document `--pass $mode` 2019-07-17 10:33:16 -05:00
Yuki Okushi 06837ee64b Update experts' link 2019-07-17 08:11:54 -05:00
Mark Mansi 4936b7cbd5 add humor appendix; closes #163 2019-07-10 22:14:10 -05:00
Yuki Okushi b5a2b9353c Fix broken links (#382) 2019-07-04 14:41:50 +03:00
Yuki Okushi 92f3f8e3b8 Update pass modes for ui tests (#380) 2019-07-04 14:39:45 +03:00
Yuki Okushi 7f47c496c2 Fix typo 2019-06-26 22:21:47 -05:00
Mark Mansi c6d994370b fix mdbook test 2019-06-26 14:34:56 -05:00
Mark Mansi 87e355245c fix links 2019-06-26 14:26:14 -05:00
Mark Mansi abf512fc9c fix long line 2019-06-26 11:05:58 -05:00
Niko Matsakis ed95356868 add `point` to the glossary and link a use of it 2019-06-26 11:05:58 -05:00
Niko Matsakis a8de9a1a49 fix indentation 2019-06-26 11:05:58 -05:00
Niko Matsakis 364f0e4f8a Update src/borrow_check/region_inference/placeholders_and_universes.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 5bfca5a871 Update src/borrow_check/region_inference/placeholders_and_universes.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis edeb237444 Update src/borrow_check/region_inference/placeholders_and_universes.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 0c6f78907a Update src/borrow_check/region_inference/member_constraints.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 986780beef Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 47dc406417 Update src/borrow_check/region_inference/member_constraints.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 1a66e0c6a9 Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 16e49002c7 Update src/borrow_check/region_inference/member_constraints.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 8c78b7dd81 Update src/borrow_check/region_inference/member_constraints.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 32b57634c3 Update src/borrow_check/region_inference/lifetime_parameters.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis b71caff442 Update src/borrow_check/region_inference/member_constraints.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis ae217e5775 Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis f540a0ba41 Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis a90e3417f7 Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis d4f8036b39 Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 8858bdf8d2 Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 6e64baba5e Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 53f83a9b1c Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 3435363ef3 Update src/borrow_check/region_inference/lifetime_parameters.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 13691d6372 Update src/borrow_check/region_inference/lifetime_parameters.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 989c943eb3 Update src/borrow_check/region_inference/lifetime_parameters.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis 5c92fc254e Update src/borrow_check/region_inference/constraint_propagation.md
Co-Authored-By: lqd <remy.rakic+github@gmail.com>
2019-06-26 11:05:58 -05:00
Niko Matsakis bd347df751 adjust overview slightly 2019-06-26 11:05:58 -05:00
Niko Matsakis 472f4e8367 describe region inference and member constraints in some detail 2019-06-26 11:05:58 -05:00
Niko Matsakis 4615a9a1f7 start filling out the constraint propagation chapter in more detail 2019-06-26 11:05:58 -05:00
Niko Matsakis 83ab6e4296 break out parts of the region inference chapter into sub-chapters 2019-06-26 11:05:58 -05:00
Niko Matsakis 40e8461973 fix typo 2019-06-26 11:05:58 -05:00
Mark Mansi 85c0616288 avoid ftp links 2019-06-26 10:45:56 -05:00
Mark Mansi 979387d4c2 fix broken links 2019-06-26 10:45:56 -05:00
Mark Mansi bb872a6072 add bibligraphy appendix 2019-06-26 10:45:56 -05:00
flip1995 6f50f15f7a Change stage0 cfg_attr to bootstrap 2019-06-24 09:51:06 -05:00
b41sh 43ac5672c3 fix compiler-team 2019-06-24 09:50:28 -05:00
Amanjeev Sethi 76a7f1085e Added Rustc Debugger Support Chapter 2019-06-20 20:54:40 -05:00
Mark Mansi f55e97c145 fix typos 2019-06-15 17:29:12 -05:00
Eduard-Mihai Burtescu f675e36941 Update for TyCtxt<'a, 'gcx, 'tcx> -> TyCtxt<'tcx>. 2019-06-15 16:58:30 -05:00
Mark Mansi c15c60938a fix ci failures, typos, broken links 2019-06-15 16:57:18 -05:00
Mark Mansi 9a4ff92b8e Some edits to address review comments 2019-06-15 16:57:18 -05:00
Blitzerr ea6f6b516b Notes about closure de-sugaring 2019-06-15 16:57:18 -05:00
Mark Mansi 8dfb8c1f9e add note about rebuilding llvm 2019-06-15 16:30:28 -05:00
Jonathan Behrens 885ab7e860 Changes to config.toml require a clean 2019-06-15 16:06:20 -05:00
Jonas Schievink d97d111c2e Fix a few typos in type inference chapter
Also try to test the top example
2019-06-13 19:49:30 -05:00
Who? Me?! eda82ca8c9 Update how-to-build-and-run.md 2019-06-11 11:55:03 -05:00
Who? Me?! 14f353e9d8 Update how-to-build-and-run.md 2019-06-11 11:55:03 -05:00
Who? Me?! 53961054c8 Update compiler-debugging.md 2019-06-11 11:55:03 -05:00
Who? Me?! af46ee4449 use debug instead of debuginfo-level 2019-06-11 11:55:03 -05:00
mdsimmo 9015f537ab Replaced tabs with spaces 2019-06-07 15:32:02 -05:00
mdsimmo 2290cd1037 correct indentation
Indentation consistently 4 spaces and Part 1/Part2 contain everything else
2019-06-07 15:32:02 -05:00
Vadim Petrochenkov 3ac9cfc9c9 Update information about debuginfo configuration 2019-06-02 19:36:58 -05:00
mark 52d423e1b3 fix long line 2019-06-02 19:32:17 -05:00
Vallentin c2ced29a08 Fixed misspelling 2019-06-02 19:24:11 -05:00
Santiago Pastorino 2755796a29
Add more info subsection with links to forge and rustc api docs 2019-05-28 17:51:08 -03:00
Julian Wollersberger 14b243de25 Renamed the file and title of the diagnostics chapter.
When I recently searched for infos in this guide on how to create
a warning, I couldn't find any. Later I found it through #14.

The reason was that I didn't know the term 'diagnostics' and that
it is the collective term for errors, warnings and lints.

Renaming the chapter to include the word 'error' should help.
I think also including 'warning' in the title shouldn't be
neccessary, because it's close enought.
2019-05-17 11:02:08 -05:00
Iñaki Garay 673b4a4b4c Added rustc phases diagram and explanation
Added rustc build phase diagram and explanation
2019-05-15 09:39:50 -05:00
varkor 72bafaca4f Mention running tests for subdirectories 2019-05-15 09:38:51 -05:00
Iñaki Garay 2972cf43a8 Fixed links broken by merging chalks rules and solve 2019-05-15 09:34:04 -05:00
Michael Woerister 243863e487 Add documentation about profile-guided optimization. 2019-05-14 11:19:21 -05:00
Tom Mulvaney 3cb727b62b Fix typo, 'which' repeated twice 2019-05-07 09:53:32 -05:00
Niko Matsakis 37e4af3fa4
Merge pull request #304 from rasendubi/fix-canonicalization
[canonicalization] fix result canonicalization example
2019-05-04 07:01:32 -04:00
Yuki Okushi 2b8280f113 Rename to RUSTC_LOG 2019-05-03 15:04:24 -05:00
Iñaki Garay 2ecb52cb2d Added mention of universal ctags 2019-05-03 11:48:45 -05:00
guilherme b05cfab80b Fix link in walkthrough 2019-05-01 22:22:29 -05:00
Nicolas 786d85c10e Remove IRC from discussion chats 2019-05-01 22:20:10 -05:00
Alex Crichton b68e57b705 Bring the updating LLVM guide up to date 2019-05-01 22:18:48 -05:00
Iñaki Garay e905e3aa17 Fixed broken chalk links 2019-04-25 20:17:28 -05:00
Matthew Jasper dca6649b72 Add documentation for two-phase borrows 2019-04-24 17:29:05 -05:00
Oliver Scherer ad07f7fac5 Explain new powers of the `treat-err-as-bug` flag 2019-04-24 09:04:12 -05:00
Alexey Shmalko 92219f29bb Update lowering-module test case 2019-04-23 12:30:52 -05:00
Alexey Shmalko a0ab5fac4b
[canonicalization] fix result canonicalization example 2019-04-20 23:00:13 +03:00
Alexey Shmalko 99e1b1d536 Update BodyId description
It is now a newtype'd HirId, not NodeId.

See https://github.com/rust-lang/rust/pull/58167.
2019-04-20 09:57:54 -05:00
Alexey Shmalko 813cdf613e Update test-implementation chapter to current code
`test_main_static` is now used instead of `test_static_main`.

The libsyntax no longer generates a `TESTS` constant but rather passes
all test cases directly into `test_main_static` as a slice.

Update the guide accordingly.
2019-04-17 22:28:36 -05:00
Mark Mansi aa7bb2bc5d update chalk with new organization 2019-04-16 16:23:26 -05:00
Mark Mansi 2ef961e454 move to subsection 2019-04-16 15:37:46 -05:00
Mark Mansi b95f349389 fix MovePathIndex link 2019-04-16 15:37:11 -05:00
Alexey Shmalko 7503057194 Update query chapter for the query macro rewrite
There was a big macro rewrite in these pull requests:
https://github.com/rust-lang/rust/pull/56462
https://github.com/rust-lang/rust/pull/59517

Update the query chapter to describe the new macro usage.
2019-04-16 15:36:32 -05:00
Zack M. Davis 07d1d3c83b subchapter with information about `--error-format json` 2019-04-16 14:10:52 -05:00
Krishna Sannasi d785946373 Update query-evaluation-model-in-detail.md
Fix typo in the example
2019-04-13 13:13:28 -05:00
mark 464cb5b166 oops 2019-03-23 18:39:14 -05:00
mark 9b06a122e4 Use eddyb's suggestion from #11 about logging 2019-03-23 18:39:14 -05:00
Denys Zariaiev 9df878f4b8 Add a note about `assembly` test suite. 2019-03-22 16:30:05 -05:00
Dan Robertson 67ec74d629 Update link to debugging codegen 2019-03-22 16:29:47 -05:00
Alexander Regueiro c7d4e2fde2 Small fix to code for checking feature gate 2019-03-22 15:50:31 -05:00
Zoxc 07b4c151bc
Merge pull request #288 from mark-i-m/fix-links
Fix links
2019-03-20 08:02:50 +01:00
mark 5c827ef97b address Zoxc's comments 2019-03-19 19:02:59 -05:00
Santiago Pastorino e627f5031a Add experts map section to compiler team page 2019-03-15 17:32:05 -05:00
varkor 960ddd6221 Fix mask -> tag terminology 2019-03-15 17:30:37 -05:00
Mark Mansi e8370fda83 update rustc driver chapters 2019-03-15 17:25:12 -05:00
Mark Mansi 4013f453e5 chalk has moved to rust-lang 2019-03-15 17:24:46 -05:00
Niko Matsakis aa9bb67c62
Merge pull request #273 from mark-i-m/conventions
Update Conventions chapters, add chapter on dependencies
2019-03-13 13:44:02 -04:00
Mark Mansi fea9c2361f fix link 2019-02-23 18:14:47 -06:00
Mark Mansi 2ebab6532b Organize and finish debugging chapters 2019-02-23 18:14:47 -06:00
Who? Me?! ed6f17eb43 Update src/implementing_new_features.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! 41dee19fd3 Update src/implementing_new_features.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! 46d99ee25a Update src/implementing_new_features.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Rajkumar Natarajan c0a6e0b49b issue_130_7 updated with review comments 2019-02-23 18:12:58 -06:00
Who? Me?! e15b26b349 Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! 4a53240fb4 Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! 04995a5ad0 Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! c9df17bd53 Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! 08522e27ec Update src/SUMMARY.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Rajkumar Natarajan f59ed9dbc5 issue_130_7 implementing new features 2019-02-23 18:12:58 -06:00
Alexander Regueiro 10fb45ee27 Small clarifications to glossary definitions 2019-02-18 20:14:41 -06:00
varkor d911ba15a2 Ignore Rust snippet 2019-02-18 17:48:15 -06:00
varkor 99d47b84c6 Add more information and an example to Kind chapter 2019-02-18 17:48:15 -06:00
varkor 7cc2afab20 Add preliminary chapter on kinds 2019-02-18 17:48:15 -06:00
varkor de2ab38ddb Add "drop glue" to the glossary 2019-02-18 12:34:28 -06:00
varkor f420e427c7 Add "memoise" to the glossary 2019-02-18 12:34:28 -06:00
varkor 50bcd366db Add "intern" to the glossary 2019-02-18 12:34:28 -06:00
varkor ee661e8d61 Add "early-bound lifetime" and "late-bound lifetime" to the glossary 2019-02-18 12:34:28 -06:00
varkor 7ef92b9bb6 Add "item" to glossary 2019-02-18 12:34:28 -06:00
varkor d94a06dd52 Add "lang item" to glossary 2019-02-18 12:34:28 -06:00
Zack M. Davis 50c84d1a87 `_with_applicability` methods are gone
The simpler `span_suggestion` method name now takes the applicability
argument, thanks to Andy Russell (rust-lang/rust@0897ffc28f).
2019-02-06 10:31:58 -06:00
Michael Woerister 0ffc56b3a3
Merge pull request #270 from michaelwoerister/query-eval-model-update
Add "The Query Evaluation Model in Detail" and "Incremental Compilation In Detail" chapters.
2019-01-30 13:30:48 +01:00
Michael Woerister 808a9a1756 Add a more detailed description of how incremental compilation works. 2019-01-30 13:13:16 +01:00
Mark Mansi 3dadf436ad add blurb about downloading artifacts; fix #77x 2019-01-29 11:16:11 -06:00
Mark Mansi c7cdf9fe3e better grouping, more links 2019-01-27 19:58:43 -06:00
Ralf Jung 1a98854e47 Typo
Co-Authored-By: mark-i-m <mark-i-m@users.noreply.github.com>
2019-01-27 19:58:43 -06:00
Mark Mansi 9600742738 fix updating-docs link, add regression test 2019-01-27 19:58:43 -06:00
Mark Mansi e7d7e38e95 add comments from sunjay 2019-01-25 13:37:54 -06:00
Mark Mansi b83f584379 add link to sunjay talk 2019-01-25 13:37:54 -06:00
Mark Mansi 658ce409c4 fix #182 2019-01-23 22:26:15 -06:00
Mark Mansi bb3392e7d7 update conventions 2019-01-23 12:56:40 -06:00
Mark Mansi 952f9366b2 update text about copyright headers 2019-01-23 12:41:18 -06:00
Michael Woerister 54bf20498b Add "The Query Evaluation Model in Detail" Chapter. 2019-01-23 15:37:14 +01:00
Oliver Scherer 9730697d1f
Merge pull request #266 from rchaser53/fix-miri
fix unwrap_u64 and to_raw_bits
2019-01-22 09:25:17 +01:00
Oliver Scherer 3a1620143f Fix TokenStream link 2019-01-21 14:54:10 -06:00
rchaser53 4f0d4744b8 fix unwrap_u64 and to_raw_bits 2019-01-22 00:24:36 +09:00
rchaser53 3a79ba5432 fix related miri variables
rename variables like below
 - Value => ConstValue
 - PrimVal => Scalar
 - Value::ByVal => ConstValue::Scalar
 - Value::ByValPair => ConstValue::ScalarPair
2019-01-19 23:48:13 +09:00
mark 2c5ff5503a better titles a la Niko 2019-01-18 15:51:53 -06:00
mark 8375007aa8 Reorganize the book into 3 parts 2019-01-18 15:51:53 -06:00
Who? Me?! ae6381c6d7
Fix relative link 2019-01-18 14:09:30 -06:00
king6cong be6722764c Update the doc related to complier logging 2019-01-18 13:25:19 -06:00
Who? Me?! 1aadda5c5e
Update stabilization_guide.md 2019-01-17 18:57:05 -06:00
Rajkumar Natarajan 72237edfa4 issue 130 stabilization guide 2019-01-17 18:56:02 -06:00
Who? Me?! fe1c4b73a1 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! 996d9493a2 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan a230029888 issue 130 stabilization guide 2019-01-17 18:56:02 -06:00
Rajkumar Natarajan c36a489d97 issue 130 stabilization guide 2019-01-17 18:56:02 -06:00
Who? Me?! 74fd971003 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! d3e8792c2c Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan ca9e6be0c6 issue_180 incorporated the review comments 2019-01-17 18:56:02 -06:00
Who? Me?! e680f28d05 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! 0f82f1c5a1 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! 8823da540f Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! ea37742d2c Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! dd43338012 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! afc027f7c5 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan 1590387f77 issue_130_stabilization_guide 2019-01-17 18:56:02 -06:00
Niko Matsakis 3f3f0e33a3
Merge pull request #234 from mark-i-m/mir_borrowck
Fill out the borrowck chapter a bit more
2019-01-11 17:27:37 -05:00
Igor Matuszewski 134d2ba510
Mention old incr. comp. design doc 2019-01-04 15:23:15 +01:00
Philipp Hansch 615cf17b6f Add IRLO to glossary
Someone was asking on Discord what it stands for. It's sometimes used in
GitHub issues, Twitter and other places.
2019-01-01 09:45:12 -06:00
ednix 5daaa54331 Fix formatting, follow 100 char line length limit
No idea why the Markdown stuff got dropped last time. Hopefully everything is fine now.
2018-12-23 22:49:56 -06:00
ednix 1b760946bd Do what the last commit said it did 2018-12-23 22:49:56 -06:00
ednix b85fc37753 Clarify line about RLS being unable to handle rustc
I based this clarification on this [answer](https://www.reddit.com/r/rust/comments/a8mk33/question_about_a_line_from_the_rust_compiler_book/ecbx1ma/) to
my question on Reddit.
2018-12-23 22:49:56 -06:00
Who? Me?! 451f00936a Fix link 2018-12-23 15:15:17 -06:00
Roberto Vidal 28f67849e1 Fixes broken links 2018-12-14 17:30:13 -06:00
Oliver Scherer aee77489fe Add graphs that I forgot to push in the original PR 2018-12-14 17:29:38 -06:00
Dan Robertson 81b0c84f41 Fix link to rustc_mir::hair::cx::expr 2018-12-11 21:58:29 -06:00
Mark Mansi 2dfa301deb update a couple of links 2018-12-11 15:29:38 -06:00
Mark Mansi a69982d7f5 added example, reworked inference section 2018-12-11 15:22:17 -06:00
Mark Mansi 7acbc48d17 a few updates 2018-12-11 14:46:35 -06:00
Alex Crichton f1caa8dd77 Add some documentation about updating LLVM 2018-12-07 15:43:59 -06:00
Edd Barrett 87830ff034 Provide a Python example. 2018-12-03 12:07:30 -06:00
Edd Barrett 8f0eaf3961 Explain how to check if gdb supports Python. 2018-12-03 12:07:30 -06:00
Edd Barrett 0f5df93b13 Mention that tests need a Python-enabled gdb. 2018-12-03 12:07:30 -06:00
Andy Wortman a18f366010 fix some linkrotted links 2018-12-01 21:57:43 -06:00
yui-knk 344c4e437b Fix the file path where AST is defined 2018-12-01 15:11:25 -06:00
Who? Me?! 3940e94a5e
fix relative link (#242) 2018-11-26 15:24:39 -06:00
Niko Matsakis 946d56bde9
Merge pull request #237 from mark-i-m/walkthrough
start on walkthrough
2018-11-26 15:28:17 -05:00
Mark Mansi 49c3d4a36e add link to stabilization pr 2018-11-26 11:06:41 -06:00
Niko Matsakis fe35892c78
Merge pull request #228 from tmandry/traits-slg
Add traits SLG solver section
2018-11-20 14:08:02 -05:00
Tyler Mandry 9b6d561a33 SLG: Add links and mark-i-m's suggestions 2018-11-19 18:51:49 -06:00
Mark Mansi ad8ebf263c finish walkthrough 2018-11-19 15:34:02 -06:00
Félix Fischer a2404ba071 Fix typo (#238)
"is is" ~> "it is"
2018-11-14 21:46:25 -06:00
Mark Mansi 0f3cb5ef98 add a bit more 2018-11-11 16:32:11 -06:00
Mark Mansi a5b158f044 add a bit more 2018-11-10 22:41:27 -06:00
Mark Mansi 07eb29fb1e start on walkthrough 2018-11-10 22:06:15 -06:00
Oliver Scherer 6569862a80 Don't try to build some example code snippets 2018-11-09 19:17:49 -06:00
Oliver Scherer ce79098344 Line length checks 2018-11-09 19:17:49 -06:00
Oliver Scherer 21beb7738a Remove a sentence from the end of a chapter because it also appears right at the start of the chapter 2018-11-09 19:17:49 -06:00
Who? Me?! f4978b5646 Clarify aggregates
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?! 030670699a Missing connection between two consecutive sentences
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?! 33558bdac6 english is hard
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?! 9681f2cb88 caps nit
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?! 38947d5d2f Grammar nit
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Oliver Scherer 8e708929c3 Fix tidy 2018-11-09 19:17:49 -06:00
Oliver Scherer 1dd3236827 Address most other review comments 2018-11-09 19:17:49 -06:00
Niko Matsakis 9660fbada5 Explain the unpack! macro 2018-11-09 19:17:49 -06:00
Oliver Scherer 02ce4af2b0 Split overcomplicated sentence into two 2018-11-09 19:17:49 -06:00
Oliver Scherer a7c23651b7 Link to docs and address some review comments 2018-11-09 19:17:49 -06:00
Oliver Scherer 80b656fa7c Document MIR building somewhat 2018-11-09 19:17:49 -06:00
Aleksey Kladov bed7044bbd document the interaction between macros and nameres
"The name resolution is a separate pass" is a wishful thinking :(
2018-11-09 19:11:32 -06:00
Gareth Ellis 9d2e781896 Fixed Spelling Mistake In MIR/index.md - "alloated" 2018-11-09 18:08:51 -06:00
Mark Mansi 9f435099c1 fill out the borrowck chapter a bit more 2018-11-08 21:34:17 -06:00
Mark Mansi 5194978cc7 add a few links to rustdocs 2018-11-08 20:38:14 -06:00
Mark Mansi 97e853022f minor improvements 2018-11-08 20:29:45 -06:00
Aleksey Kladov 76be9f99d7 Remove reference to copyright comment
We don't need them anymore
2018-11-08 20:02:48 -06:00
Aleksey Kladov 6d01e7ceb2 Rename trans to codegen 2018-11-08 12:36:11 -06:00
kenta7777 dc9ceca103 removed jemalloc statements. 2018-11-07 08:59:17 -06:00
kenta7777 253affdfc5 revised a jemalloc statement in how-to-build-and-run.md 2018-11-07 08:59:17 -06:00
Tom Tromey 351f75b4eb Document ignore-llvm-version
This documents the ignore-llvm-version directive.
2018-11-06 16:35:13 -06:00
Tyler Mandry 62c8d0465b SLG: Replace heritage section with links to it elsewhere
Maybe we want to include this in the bibliography or something, though.
2018-11-04 09:50:18 -06:00
Tyler Mandry 69d42aa4ce SLG: Add intro 2018-11-04 09:38:56 -06:00
Niko Matsakis 505c99f080
Merge pull request #222 from scalexm/wf
Write well-formedness checking chapter
2018-11-03 06:28:36 -04:00
Tyler Mandry 76a2c5eb86 Copy chalk_engine README 2018-11-02 16:20:56 -05:00
scalexm cbb021e93f Fix nits 2018-11-02 21:50:36 +01:00
Niko Matsakis 9fe13e7182
Merge pull request #223 from tmandry/improve-chalk-overview
Update chalk overview
2018-11-02 15:55:51 -04:00
Who? Me?! 9805434b94 Clarify why 'static is free 2018-10-31 20:44:30 -05:00
Who? Me?! 66e831eeb0 Missing link 2018-10-31 20:43:46 -05:00
Tyler Mandry cf2682ae86 Chalk Overview: Fill in testing section 2018-10-30 18:06:31 -05:00
Tyler Mandry 7f14c8254e Chalk Overview: Organize and sort links 2018-10-30 18:06:31 -05:00
Tyler Mandry b5024c3a73 Chalk Overview: Update old content 2018-10-30 18:06:25 -05:00
Tyler Mandry fe9dc61b89 Fix a few more things
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-30 22:15:22 +01:00
Tyler Mandry d2238c30b7 Move Crates section down
Nest existing content under Chalk Structure. I think it reads better
this way.
2018-10-29 22:34:23 -05:00
Tyler Mandry b62fe76a35 Move Resources to bottom 2018-10-29 22:27:26 -05:00
Tyler Mandry 90716dc9da Add section on chalk structure 2018-10-29 22:16:17 -05:00
Who? Me?! e20f283a1e Fix a few things
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-29 22:43:44 +01:00
scalexm 83652097f3 Fix code blocks 2018-10-29 18:58:13 +01:00
scalexm b5dff2ed5f Add some examples for impls 2018-10-29 16:18:26 +01:00
scalexm 462b7c3558 Write well-formedness checking chapter 2018-10-29 14:38:17 +01:00
Tom Tromey 34af41dddb Document the rust-lldb directive
Commit ac33b2e578de58016271012452e4f1be6af9d516 added a `rust-lldb`
directive to restrict the lldb part of a debuginfo test to only
versions of lldb that include the Rust plugin.
2018-10-26 18:23:38 -05:00
Tyler Mandry 74e2af231b Put "well-formedness checking" under "lowering rules"
This was also intended to be a reference chapter, according to @scalexm.
2018-10-26 13:43:31 -05:00
Tyler Mandry 2de4dc7a12 Get excited 2018-10-26 13:43:31 -05:00
Tyler Mandry c41019adda Add status of regions 2018-10-26 13:43:31 -05:00
Tyler Mandry fbb3ec6744 Associated types: Break up text for readability 2018-10-26 13:43:31 -05:00
Tyler Mandry 99a23f84a7 Associated types: Mention "lazy normalization" somewhere 2018-10-26 13:43:31 -05:00
Tyler Mandry c4708f8039 Traits: Improve index layout, add chalk blurb 2018-10-26 13:43:31 -05:00
Tyler Mandry 9ae8422607 Reflect traits chapter structure in index key ideas 2018-10-26 11:09:46 -05:00
Tyler Mandry 5c67241e1a Group logic-related things under one section
I found the layout to be a bit inconsistent before. This groups anything
that touches logic rules under "Lowering to logic".

This might be crowding too many things under that section, but it makes
more sense to me overall.
2018-10-26 11:09:46 -05:00
Nikita Popov 34c9d3fc77 Update TypeVariants to TyKind
This has been renamed in https://github.com/rust-lang/rust/pull/53581.
2018-10-26 11:05:19 -05:00
Who? Me?! 4196710286 Update src/traits/caching.md
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
Who? Me?! e35e081b52 Update src/traits/hrtb.md
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
Who? Me?! bd8d3f5f30 Update src/borrow_check/region_inference.md
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
Who? Me?! 8cbf135744 Update src/borrow_check/region_inference.md
Co-Authored-By: csmoe <csmoe@msn.com>
2018-10-24 23:22:17 -05:00
csmoe 695728741e replace bound region with placeholder 2018-10-24 23:22:17 -05:00
csmoe 294fcd31ac clean up skolemiza in traits 2018-10-24 23:22:17 -05:00
csmoe a07a6de51d clean up skolemiza in borrow_ck 2018-10-24 23:22:17 -05:00
csmoe 8759055876 clean up skolemiza in glossary 2018-10-24 23:22:17 -05:00
Rajkumar Natarajan 607a58f8d2 issue_100_4 Updated the rustc documentation location 2018-10-24 19:32:09 -05:00
Who? Me?! 2fd124856d Add a note on bisecting 2018-10-23 16:27:58 -05:00
scalexm 39cdd4f920 Clarify wording 2018-10-22 12:18:04 -05:00
Who? Me?! 2b8f3d40e1 Fix typos and punctuation
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-22 12:18:04 -05:00
scalexm 2df0fcfdfb Write implied bounds chapter 2018-10-22 12:18:04 -05:00
scalexm dfa38e973e Change wording 2018-10-22 12:14:46 -05:00
Who? Me?! ab89ea2446 Fix typo
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-22 12:14:46 -05:00
Who? Me?! 07bf5e332b Add an apostrophe
Co-Authored-By: scalexm <alexandre@scalexm.fr>
2018-10-22 12:14:46 -05:00
scalexm 3db38fe7f3 Polish lowering chapters and update rules 2018-10-22 12:14:46 -05:00
Who? Me?! 4aeae78bdb Fix typo 2018-10-19 23:03:00 -05:00
Collins Abitekaniza a01aa11b7b fix typo in build instructions 2018-10-19 21:37:01 -05:00
Rajkumar Natarajan ceff08f6b3 updated with review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan 61cadd2097 issue-130 updated the review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan 062e158a67 issue-130 incorporate the review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan 0f65024f26 issue-130 copy contents related x.py from rust-forge 2018-09-29 08:50:30 -05:00
David Sanders d3b0eaed01 Typo nits #181 (#205) 2018-09-28 20:47:52 -05:00
Alcaro 946e11a578 conventions: Fix semicolon/colon typo 2018-09-28 20:04:05 -05:00
Tom Tromey 8871bd77b9 Document no-system-llvm 2018-09-28 13:00:41 -05:00
Mark Mansi 9297caaac3 Fix all the links! 2018-09-21 15:54:25 -05:00
Mark Mansi d36f89182d fix the last link 2018-09-21 15:54:25 -05:00
Mark Mansi 5ca9b3b326 Fix all the links to be relative for mdbook 2 2018-09-21 15:54:25 -05:00
Philipp Hansch 5ec3e1a620
Fix line lengths 2018-09-12 07:33:41 +02:00
Philipp Hansch c4ac71e1d0
Fix typos
These were fixed using [codespell](https://github.com/codespell-project/codespell).
2018-09-12 07:32:18 +02:00
Niko Matsakis a6284183f8 ignore various sample tests 2018-09-11 16:43:36 -04:00
Niko Matsakis d2cecbf3cd fix glossary links 2018-09-11 16:31:47 -04:00
Niko Matsakis 87382baca6 address nits 2018-09-11 16:31:47 -04:00