Commit Graph

1299 Commits

Author SHA1 Message Date
Youngsuk Kim 2d834a7578 minor typo fix 2020-02-10 16:26:29 -06:00
Tomasz Miąsko 693a92f2d2
Update sanitizers documentation (#562) 2020-02-10 10:53:59 -05:00
Felix S Klock II d1ea643074 Added example of icebreakers-cleanup-crew
(I figure its low cost to just list all the possible pings, compared to the cost of people getting the command wrong or not even knowing the full set of teams possible.)
2020-02-06 17:10:27 -06:00
Eduard-Mihai Burtescu e69b987357
mir: begin documenting user variable debuginfo. (#571) 2020-02-05 23:55:42 +01:00
Wesley Wiser 5bd60bc51e Add a mention of the new `-Zllvm-time-trace` flag 2020-02-02 23:54:00 -06:00
Who? Me?! f0a23c81ef
Fix broken links (#570) 2020-02-03 14:26:13 +09:00
Santiago Pastorino 7f19120125 Add an example PR to join the Cleanup Crew ICE-Breakers 2020-01-30 15:36:22 -06:00
LeSeulArtichaut 0e32b4eeef Replaced simple comment with doc comment 2020-01-29 12:19:31 -06:00
Niko Matsakis a8b58d4c0d
add cleanup crew (#556)
* add cleanup crew

* update the text about carog-bisect-rustc etc

* Update src/ice-breaker/cleanup-crew.md

Co-Authored-By: lqd <remy.rakic+github@gmail.com>

* finish the 3rd section

* fix typo

* clarify when you need to find PR range

* add link to zulip stream

Co-authored-by: lqd <remy.rakic+github@gmail.com>
2020-01-23 14:18:51 -05:00
Yuki Okushi 92baf7293d Fix link 2020-01-13 22:58:05 -06:00
Yuki Okushi 41efacea44 Fix links 2020-01-13 13:14:26 -06:00
Yuki Okushi 97cab0192d Fix links and paths 2020-01-12 14:31:55 -06:00
Yuki Okushi ba48252682 Fix line length 2020-01-10 13:12:39 -05:00
Yuki Okushi 2ef6c927d1 Fix links and paths 2020-01-10 13:12:39 -05:00
Yuki Okushi 702f224bf6 Fix links 2020-01-05 18:38:38 -05:00
Santiago Pastorino 2de64f7caf Summarize the lecture of ty into a chapter (#530)
* Summarize the lecture of ty into a chapter

* Add note that def-id is explained later

* Add mark-i-am fixes

* Address some of Niko's comments

* address last review comments

* fix link

Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-01-03 09:12:37 -05:00
Aaron Hill 629c135e0b Add missing hash marks
Fixes #550

I can no longer reproduce the issue
2020-01-02 22:00:26 -06:00
Aaron Hill 97dfbc964e Apply fixes
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2020-01-02 21:54:14 -06:00
Aaron Hill 01c0b04ee3 Fix line lengths 2020-01-02 21:54:14 -06:00
Aaron Hill 7c078d35b4 Update for method renames in libstd 2020-01-02 21:54:14 -06:00
Aaron Hill 6897e6b8cf Fix name of lang item 2020-01-02 21:54:14 -06:00
Aaron Hill 25c226cfa8 Fix typo 2020-01-02 21:54:14 -06:00
Aaron Hill 90af55903a Apply some fixes
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-01-02 21:54:14 -06:00
Aaron Hill a675ddedef Add panic implementation docs 2020-01-02 21:54:14 -06:00
Yuki Okushi b5c6babcdd Fix links (#549) 2019-12-31 19:45:01 +01:00
Who? Me?! a59a612451 More info about using local LLVM (#547)
* more info about llvm-config

* typo

Co-Authored-By: Santiago Pastorino <spastorino@gmail.com>

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>
2019-12-31 09:46:49 -03:00
Who? Me?! e668a1ff29 add a bit about def path (#548) 2019-12-31 09:46:18 -03:00
YOUNGSUK KIM 423808fb45 minor grammar fixes 2019-12-28 17:02:38 -06:00
Yuki Okushi e997e06db1 Fix link 2019-12-28 16:59:45 -06:00
Yuki Okushi ad604436f3 Update link 2019-12-26 13:53:05 -06:00
Oliver Scherer c461c8597e Introduce `rustc_const_stable` and explain `rustc_const_unstable` (#542) 2019-12-24 01:16:23 +01:00
Ross MacArthur 846743c713 Minor update to stability.md 2019-12-22 17:17:47 -06:00
Ross MacArthur 8a232d0d2f Update stability documentation, mention `issue = "none"` 2019-12-22 17:17:47 -06:00
Ross MacArthur 6c09a68d97 Rewrap stability.md to column 79 2019-12-22 17:17:47 -06:00
Who? Me?! 3e7993aefe Document rustc internal env vars a little bit (#513) 2019-12-21 08:00:09 -05:00
Tshepang Lekhonkhobe a6cf2843b9 chalk: place brackets in usual positions 2019-12-19 23:03:31 -06:00
Tshepang Lekhonkhobe bd77dc061a salsa: reduce overlong sentence 2019-12-19 23:03:08 -06:00
Christoph Schmidler 6dd78f5b15 Correct statement that wrongly claims the json emitter still lives in libsyntax crate 2019-12-17 08:35:30 -06:00
Mark Mansi e695b62250 update NLL after refactorings 2019-12-14 06:41:11 -06:00
Mark Mansi e30bc0fcef fix link 2019-12-09 10:52:52 -06:00
Mark Mansi cd85fbd68b move the last few things from the forge 2019-12-09 10:52:52 -06:00
Yuki Okushi 7c56708aab Fix links 2019-12-06 09:42:24 -06:00
Laurențiu Nicola d0b93fd015 Remove reference to run-pass tests 2019-12-03 19:37:21 -06:00
Tshepang Lekhonkhobe 746f7e1799 fix links 2019-12-03 19:34:15 -06:00
Who? Me?! 9e8af60434 Add Karrq's salsa chapter (#529)
* add Karrq's salsa chapter

* add youtu.be short url
2019-11-27 14:06:07 -03:00
Who? Me?! 3984184a44 Update src/walkthrough.md
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-26 21:01:59 -06:00
Mark Mansi 4edb95271d Define FCP where first used 2019-11-26 21:01:59 -06:00
Who? Me?! efe3ab7ad1 Revert "website has disappeared"
This reverts commit 0930e773f1.
2019-11-26 21:00:47 -06:00
Hanif Bin Ariffin d373bca885 Couple of changes to code so that its safe
Specifically, `> $1` causes it to write into the file $1 if it exist
And `> ./x.py` is particularly bad because it overwrite the script with
empty spaces...
2019-11-26 17:18:04 -06:00
Ivan Tham 55e5a8a2fa Fix typo 2019-11-26 17:14:05 -06:00
Mark Mansi 0930e773f1 website has disappeared 2019-11-26 17:05:11 -06:00
Tyler Mandry a839812326 -Cllvm-arg is actually -Cllvm-args 2019-11-26 17:03:43 -06:00
Santiago Pastorino b3aa636dc2 Minor mir chapter fixes 2019-11-20 08:00:49 -06:00
homersimpsons 3981656d44 ty.md: fix a typo 2019-11-19 17:57:31 -06:00
Mark Mansi fe8585a9b6 some cleanup 2019-11-14 14:14:39 -06:00
Who? Me?! c1eea21696 typo
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14 13:08:20 -06:00
Who? Me?! be4bd173ef typo
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14 13:08:20 -06:00
Mark Mansi 692ac4df9f add oli note 2019-11-14 13:08:20 -06:00
Mark Mansi f4e7bbe473 add something for mir opt 2019-11-14 13:08:20 -06:00
Who? Me?! 9106ae1c3a add compilers biblio (#512) 2019-11-13 16:51:01 +01:00
ksqsf 6d07d62ad3 backtraces work on Mac 2019-11-12 14:44:41 -06:00
Mark Mansi 934380b7cf update parser chapter 2019-11-12 10:28:31 -06:00
Mark Mansi 75a5f9236c Fix chalk links 2019-11-08 11:24:48 -06:00
Tshepang Lekhonkhobe 3e1213e728 trim down "Document rustc" 2019-11-08 10:19:32 -06:00
Tshepang Lekhonkhobe 399d543e38 whitespace 2019-11-08 10:19:32 -06:00
Tshepang Lekhonkhobe 81428c1c1e those are now documented in this guide 2019-11-08 10:16:21 -06:00
Tshepang Lekhonkhobe 78609913b4 rustc_back has long since been renamed to rustc_target 2019-11-08 10:16:06 -06:00
Tshepang Lekhonkhobe afa3168921 fix typo 2019-11-08 10:15:21 -06:00
PotHix a7beb12a13 Update the "Testing infrastructure" section
The testing infrastructure was migrated from Travis and AppVeyor to
Azure Pipelines some time ago. This commit updates the documentation to
reflect this change.

Fixes #500.
2019-11-08 10:14:17 -06:00
Youngsuk Kim 3a4c193747 Clarify function name and add links (#506)
* Clarify function name and add links 

rustc_interface::interface::run_compiler 
(https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/interface/fn.run_compiler.html)
2019-11-09 01:09:44 +09:00
Who? Me?! ab4978cb3b Fix diagram src 2019-11-05 21:57:14 -06:00
Mark Mansi 16d731801a fix links 2019-11-05 21:45:49 -06:00
Mark Mansi 6d15cb5b8e breakup the building chapter 2019-11-05 21:45:49 -06:00
Mark Mansi 46ce39e67e add compiler lecture series appendix 2019-11-05 13:24:26 -06:00
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
Niko Matsakis d453faee7a add content 2018-09-11 16:31:47 -04:00
Niko Matsakis 0ab21a2aa5 rearrange to promote the borrow checker into its own section 2018-09-11 16:31:47 -04:00
Niko Matsakis b655878d2c wrap lines in `running.md` 2018-09-11 16:22:15 -04:00
Niko Matsakis 69cdc0a77e wrap long lines 2018-09-11 12:02:58 -04:00
Niko Matsakis 4490acdbe6 remove silly `note:` 2018-09-11 12:02:58 -04:00
Niko Matsakis 576581da0d fix some more typos 2018-09-11 12:02:58 -04:00
Niko Matsakis 8cbf9d0b01 fix typo, add link 2018-09-11 12:02:58 -04:00
Niko Matsakis 4a6c34a168 fix typos 2018-09-11 12:02:57 -04:00
Niko Matsakis 4ab5fec4c6 note about why stage1/stage2 are different 2018-09-11 12:02:57 -04:00
Niko Matsakis 7d87e3cab2 wrap long lines 2018-09-11 12:02:57 -04:00
Niko Matsakis a2ad0a8eb2 document keep-stage1 2018-09-11 12:02:57 -04:00
Philipp Hansch 732dc4782e Mention incremental compilation in testing chapter
The `--incremental` flag was only mentioned in [how_to_build_and_run] so
far. Faster testing means faster iteration and perhaps even more added
tests.

[how_to_build_and_run]: https://rust-lang-nursery.github.io/rustc-guide/how-to-build-and-run.html
2018-09-10 19:30:07 -05:00
Niko Matsakis f72ba710ab fix various bash snippets 2018-09-10 19:25:29 -05:00
Niko Matsakis 5665ed6a7a links are always relative to root or what? 2018-09-10 19:25:29 -05:00
Niko Matsakis 694a90c19d fix link 2018-09-10 19:25:29 -05:00
Niko Matsakis fcbd9b907e add a note about the collector executable 2018-09-10 19:25:29 -05:00
Niko Matsakis 85ed2e32de update with njn's insight 2018-09-10 19:25:29 -05:00
Niko Matsakis 9a463df833 don't write `rust-prof` bur rather `<toolchain> 2018-09-10 19:25:29 -05:00
Niko Matsakis 37aa15e93f link to build-and-run, fix em-dash 2018-09-10 19:25:29 -05:00
Niko Matsakis cdc688451e say function, not fn 2018-09-10 19:25:29 -05:00
Niko Matsakis fb59bf5383 be consistent about bash snippets 2018-09-10 19:25:29 -05:00
Niko Matsakis 4e5ab2ac25 fix long lines 2018-09-10 19:25:29 -05:00
Niko Matsakis f1e087db37 switch to em-dash 2018-09-10 19:25:29 -05:00
Niko Matsakis 5571290aac various nits from mark-i-m 2018-09-10 19:25:29 -05:00
Niko Matsakis 44c05c72be add a section about profiling with perf 2018-09-10 19:25:29 -05:00
Dale Wijnand ad03ec4ee8
Write in English 2018-09-07 11:47:56 +01:00
Dale Wijnand e731de5755
No copyright notices on new tests 2018-09-07 11:46:53 +01:00
Niko Matsakis 81fd1c02f2 note about discussion channels 2018-08-31 23:03:48 -05:00
Niko Matsakis e295ad412e includ some notes on finding bugs 2018-08-31 23:03:48 -05:00
Niko Matsakis 207e669c1f fix various minor points 2018-08-31 23:03:48 -05:00
Niko Matsakis 7c200dffd7 adjust long lines 2018-08-31 23:03:48 -05:00
Niko Matsakis 3d094aa310 add a section about the compiler team 2018-08-31 23:03:48 -05:00
Niko Matsakis 5321d0059f tweak long line 2018-08-31 12:05:36 -05:00
Niko Matsakis f893fe8019 sprinkle links to rustdoc through the HIR explanation 2018-08-31 12:05:36 -05:00
Sébastien Duquette 581b5fc9cf address review comment 2018-08-23 21:56:35 -05:00
Sébastien Duquette a28a4cf252 Fix lines over 80 columns. 2018-08-23 21:56:35 -05:00
Sébastien Duquette 3aa13477d1 Rename CodeMap and FileMap to SourceMap and SourceFile.
Those types were renamed in https://github.com/rust-lang/rust/pull/52953
2018-08-23 21:56:35 -05:00
Niko Matsakis 7836a59e48 add rust,ignore to code snippets 2018-08-20 11:46:41 -05:00
Oliver Schneider 6533ccebba Update existential-types.md 2018-08-20 11:46:41 -05:00
Oliver Schneider 9efa9f1346 Explain existential types 2018-08-20 11:46:41 -05:00
Josh Triplett 1f8e117292 Update copyright guidance to omit notices for new files.
Previously approved in https://github.com/rust-lang/rust/pull/43498 ;
update the guide to match.
2018-08-20 11:08:22 -05:00
John Renner 6568317234 More descriptive name for #[test] implementation 2018-08-11 10:37:44 -05:00
John Renner 61adf4cb4b Shorten line length 2018-08-11 10:37:44 -05:00
John Renner c13c5a019f Add testing chapter 2018-08-11 10:37:44 -05:00
Tom Tromey 37141c0825 Update compiler test documentation
Update the compiler test documentation to document ignore-gdb-version
and min-system-llvm-version; and expand the min-gdb-version,
min-lldb-version, and min-llvm-version documentation a little.
2018-08-09 09:15:01 -06:00
mark 2a1387faae minor improvements 2018-07-16 20:52:29 -05:00
mark e0d07aad5f add notes about generating llvm ir 2018-07-16 20:52:29 -05:00
mark 894893860d line length 2018-07-16 20:52:29 -05:00
mark 57c8403c88 add a bit on llvm 2018-07-16 20:52:29 -05:00
mark 315ae44507 add a bit about buffered lints 2018-07-14 16:47:17 -05:00
mark 1a696569a8 update definitions 2018-07-10 21:35:45 -05:00
mark d234211ca1 Attempt to address review comments 2018-07-10 21:35:45 -05:00
mark bdcd161d20 define FileMap; fix #35 2018-07-10 21:35:45 -05:00
mark 337c64e4d2 fix lacking spaces 2018-07-09 21:45:49 -05:00
mark 37a202cdba fix all the not-en-dashes 2018-07-09 21:45:49 -05:00
Who? Me?! 9112311803 Add the small amount i know about hygiene (#167)
* add the small amount i know about hygiene

* use en-dash
2018-07-09 21:28:29 +03:00
Who? Me?! bf2f7c85b5
Quick fix: copy/paste error 2018-07-08 18:34:25 -05:00
Oliver Schneider c52d026a1f md -> html 2018-07-08 17:41:12 -05:00
Oliver Schneider 928470c8cc Satisfy tidy checks 2018-07-08 17:41:12 -05:00
Oliver Schneider f2e7ef1675 Add some details about `DefId` creation 2018-07-08 17:41:12 -05:00
Oliver Schneider e8a0108259 Address review 2018-07-08 17:41:12 -05:00
Oliver Schneider f394cd109c Add some explanation of lowering ids 2018-07-08 17:41:12 -05:00
Zack M. Davis 79ebdb7b53 "and has" → "because it has" 2018-07-04 17:14:02 -05:00
Zack M. Davis 196d10ea87 rewrite suggestions intro to be less bizarrely edition/rustfix centric
The suggestions API was introduced in April 2015
(rust-lang/rust@906a9728ff), long predating rustfix (initial commit July
2016) or editions (RFC 2052 approved September 2017).
2018-07-04 17:14:02 -05:00
Zack M. Davis 85645644db mention lint-level command line flags as well as attributes 2018-07-04 17:14:02 -05:00
Zack M. Davis 2cb56f31fe cautionary parenthetical about failing to emit a `DiagnosticBuilder` 2018-07-04 17:14:02 -05:00
Zack M. Davis c345de354c "easier" → "more informative"; omit needless clause
We don't want to leave the impression that spans are about making it
easier for compiler developers to perform the arduous task of emitting
an error; spans are about pointing to particular segments of code in the
emitted error messages. Also, we don't need to say "whenever an error
comes up"; that's implied by the phrase "error reporting."
2018-07-04 17:14:02 -05:00
Zack M. Davis 14ef432e48 `span_to_snippet` return value is a `Result`, not an `Option` 2018-07-04 17:14:02 -05:00
Zack M. Davis 95bdeacaea add links for `Span`, `CodeMap`, and `rustfix`
It's unfortunate that `code-monospaced` links don't render with link
colors (such that the reader needs to hover over them just to tell that
it is a link), but that's presumably a bug in MdBook, and not something
we need concern ourselves with here.
2018-07-04 17:14:02 -05:00
Alex Kitchens 37872481ac Keep glossary definition of codegen 2018-06-26 19:04:30 -05:00
Alex Kitchens ec8d0498d6 Rename trans to codegen
This commit is a followup of changes from [b63d7e2b1c4019e40051036bcb1fd5f254a8f6e2](b63d7e2b1c (diff-b433c87466d984aa7eeded378ea6c392)) in the Rust source to rename trans to codegen.
2018-06-26 19:04:30 -05:00
Eduard-Mihai Burtescu 7bf9416221 Update query.md 2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu b1fa3579b8 Update high-level-overview.md 2018-06-25 21:20:30 -05:00
Eduard-Mihai Burtescu 85d30364b0 rustc: rename ty::maps to ty::query. 2018-06-25 21:20:30 -05:00
Zack M. Davis addc94950a don't mention new rustdoc
Steve says it's not ready
(https://github.com/rust-lang-nursery/rustc-guide/pull/150#issuecomment-395783504).
2018-06-25 21:18:50 -05:00
Zack M. Davis c98cd5a6a8 include `./` in example x.py commands for smoother copy-paste experience
The current directory is typically not on the user's $PATH.
2018-06-25 21:18:50 -05:00
scalexm 7139188c07 Capitalize a word 2018-06-12 18:20:35 -05:00
scalexm 529a75575b Add chalk rules for type defs 2018-06-12 18:20:35 -05:00
Niko Matsakis 6317149ca4
Merge pull request #149 from rust-lang-nursery/mark-i-m-patch-1
clarify run-rustfix compiletest header
2018-06-10 16:10:37 -04:00
Niko Matsakis 8e6bcbe004
Merge pull request #153 from mark-i-m/code_index_01
A few more data structures to the code index
2018-06-10 16:10:11 -04:00
Mark Mansi 318057e479 update trait ref 2018-06-08 20:38:38 -05:00
Mark Mansi 7681b6ccc4 mention bless 2018-06-08 20:32:04 -05:00
Niko Matsakis 43f7be67d6
Merge pull request #152 from mark-i-m/glossary_more
add a bunch of type-related terms to glossary (and few others)
2018-06-08 10:44:20 -04:00
Mark Mansi b43d9881e2 fix build 2018-06-05 22:06:13 -05:00
Mark Mansi b859b33bbe Add bit about ctags; close #80 2018-06-05 22:06:13 -05:00
Mark Mansi 63eaf6b11c fix typo 2018-06-04 22:18:14 -05:00
Mark Mansi 390068501f tests dont need to pass 2018-06-04 22:18:14 -05:00
Mark 35780c196e long line 2018-06-04 22:18:14 -05:00
Mark eaa2cc1946 Address review feedback 2018-06-04 22:18:14 -05:00
Mark 8ee1d91c38 add more on crater + perf runs 2018-06-04 22:18:14 -05:00
Mark Mansi d0ad0c7bc1 add a bit about crater 2018-06-04 22:18:14 -05:00
Mark Mansi 809ca69001 A few more data structures to the code index 2018-06-04 20:26:40 -05:00
Mark Mansi 4a8412f3af add a bunch of type-related terms to glossary 2018-06-04 19:42:16 -05:00
Mark Mansi c0851bc66e fix remaining links 2018-06-02 17:20:47 -04:00
Mark Mansi 55883c4a7e first round of link fixes 2018-06-02 17:20:47 -04:00
Mark Mansi 13f38bebad mv traits 2018-06-02 17:20:47 -04:00
Mark Mansi 1b0fe8995a move mir 2018-06-02 17:20:47 -04:00
Mark Mansi 1af6fcfc67 move appendix 2018-06-02 17:20:47 -04:00
Who? Me?! dab4531fdc
clarify run-rustfix compiletest header 2018-06-02 16:06:00 -05:00
Tyler Mandry 8a98e39750 Update lowering rules for GATs 2018-06-01 10:31:49 -05:00
Oliver Schneider 37f5f859a3
Merge pull request #142 from rust-lang-nursery/oli-obk-patch-1
Fixes #141
2018-05-29 22:56:45 +02:00
Oliver Schneider 2d387350e2
Satisfy travis 2018-05-29 16:31:32 +02:00
Oliver Schneider 79ea4eeb14
Explain .fixed files 2018-05-29 15:37:24 +02:00
Oliver Schneider 1a25691cb4
Mention "run-rustfix" 2018-05-28 13:08:15 +02:00
Mark Mansi dbac00deda fix typo 2018-05-27 19:44:55 -05:00
Mark Mansi 3ea3ff8c70 line length 2018-05-27 19:44:55 -05:00
Mark Mansi 1624ba9923 add more on applicabilities 2018-05-27 19:44:55 -05:00
Mark Mansi 8a79f8b881 Address reviewers' comments 2018-05-27 19:44:55 -05:00
Mark Mansi c6ecc1f9b3 80 chars 2018-05-27 19:44:55 -05:00
Mark Mansi 5106793010 Add info about emitting lints and errors 2018-05-27 19:44:55 -05:00
Tyler Mandry bb867865fe Trait logic: Explain what each domain goal means 2018-05-27 16:11:27 -05:00
Tyler Mandry 2debb43b5a Clarify language in Trait Resolution 2018-05-27 16:11:27 -05:00
Takanori Ishibashi 50f44216f4 Fix typo 2018-05-27 13:11:59 -05:00
Oliver Schneider 3d48815cf4
Fixes #141 2018-05-23 11:55:16 +02:00
Alex Kitchens 3b0d3f27a5 Define a Cycle
I wasn't clear on what a Cycle was when reading through the document.
Defining it will be helpful for other readers not familiar with it as
well.
2018-05-22 17:06:58 -05:00
Philipp Hansch 6315267608 The type is inferenced, not things itself. 2018-05-21 13:57:59 -05:00
Philipp Hansch f91de90ea2 Add type inference example
This should make the chapter a bit more approachable, as it doesn't
start with a reference to the HM type inference algorithm.
2018-05-21 13:57:59 -05:00
Alex Kitchens 2bd5354411 Define HIR more specifically
IR is a foreign acronym to me, so having it fully expressed in the beginning as Intermediate Representation helps me comprehend the subject.
2018-05-20 19:08:25 -05:00
Takanori Ishibashi 2dc19d097a invokations -> invocations 2018-05-15 10:15:16 -05:00
Niko Matsakis 9fc991d15f
Merge pull request #131 from sunjay/overview-of-chalk
Added An Overview of Chalk
2018-05-14 17:57:43 -04:00
Sunjay Varma 389bd079a8 Missed a few things because of GitHub's UI 2018-05-14 11:26:15 -07:00
Sunjay Varma 7f83d68118 Even more review changes 2018-05-14 11:21:20 -07:00
Sunjay Varma edddf9fa3b More review changes 2018-05-14 11:18:14 -07:00
Sunjay Varma 5f58b0dc98 Changes from review 2018-05-14 10:52:21 -07:00
Mark Mansi b6f63df3eb remove have completed 2018-05-12 15:04:25 -05:00
Mark Mansi 359e814c8c reword HIR intro. Fix #116 2018-05-12 15:04:25 -05:00
Sunjay Varma f601a3aaca Updating links to match latest code 2018-05-11 17:14:26 -07:00
C Jones c11f57a262 Make chapter links in compiletest not be code
mdBook doesn't display links inside code, so these links look very confusing.
Additionally, these types of links don't seem to be code on other pages of the book.
2018-05-11 17:58:17 -05:00
Sunjay Varma b9eb2b6c13 Ignoring code examples that aren't actually compile-able 2018-05-10 15:48:24 -07:00
Sunjay Varma 58ef5a78de Lines must be <= 80 characters UNLESS there is a link 2018-05-10 15:43:18 -07:00
Sunjay Varma 8cfd5c5aed Added an overview of chalk 2018-05-10 15:24:02 -07:00
Sunjay Varma 0dc0dddb79 Closing all <a> tags 2018-05-10 14:46:44 -05:00
Sunjay Varma eeddfdaf70 Deleted <a> tag which was messing up the associated types page 2018-05-10 14:46:44 -05:00
Tomáš Gavenčiak 45cb1d368b Update adding.md
Rename `must-compile-successfully` to `compile-pass` in ui test doc as per https://github.com/rust-lang/rust/issues/49568.
2018-05-10 13:18:30 -05:00
Rajkumar Natarajan 1cea2615e1 Issue84 Add note about ./x.py build 2018-05-10 08:14:43 -04:00
gnzlbg e39ea751a0 Add how to run tidy script in isolation to text
This is already mentioned elsewhere, but important things are repeated twice.

Closes #124
2018-05-08 09:57:21 -05:00
Nick Fitzgerald 55ddb4df95 appendix-background: Link to *Static Program Analysis*
A+++++ resource IMHO!
2018-04-28 21:13:45 -05:00
Ehsan M.Kermani 7d4aee2431 lint add dots 2018-04-28 21:11:51 -05:00
Ehsan M.Kermani 9140b49321 fix max line len 2018-04-28 21:11:51 -05:00
Ehsan M.Kermani 30d20184b3 expand compilation stages 2018-04-28 21:11:51 -05:00
cg-cnu eb396e7883 add: note about copy from rust-forge 2018-04-15 12:58:53 -05:00
cg-cnu b4228a73ce fix: changed rust code to bash formatting 2018-04-15 12:58:53 -05:00
cg-cnu 29572cd2e4 refactor: fixed typos, text formatting suggested in the review 2018-04-15 12:58:53 -05:00
cg-cnu 8e02b37349 refactor: Fixed all the lines exceeding more than 80 characters 2018-04-15 12:58:53 -05:00
cg-cnu 5653c13077 refactor: Change the name from debugging to compiler-debuggin.md 2018-04-15 12:58:53 -05:00
cg-cnu 81116ab977 Add: Added the instructions for debugging from rust-forge 2018-04-15 12:58:53 -05:00
Samuel Wilson a87b323307 Add definition of a fat pointer, double pointer, and wide pointer
Definition referenced from Programming Rust by Jim Blandy & Jason
Orendorff, published by O'Reilly. Page 214: References to Slices
and Trait Objects.

Double pointer and wide pointer both refer to fat pointer for
detail.
2018-04-14 20:29:42 -05:00
Samuel Wilson 27a32adb72 Add definition of a fat pointer
Definition referenced from Programming Rust by Jim Blandy & Jason
Orendorff, published by O'Reilly. Page 214: References to Slices
and Trait Objects.
2018-04-14 20:29:42 -05:00
QuietMisdreavus df6b73fb99 talk about `only-X` in compiletest 2018-04-10 20:44:29 -05:00
Rajkumar Natarajan ad77d418fa update nightly documention for issue#100-b 2018-04-06 21:40:18 -05:00
varkor 46864ca971 Fix unstable Rust code block issue 2018-04-06 14:18:08 -05:00
varkor 79eaa63c54 Fix spacing 2018-04-06 14:18:08 -05:00
varkor 8889dcd15d Replace txt with text 2018-04-06 14:18:08 -05:00
varkor 43341c8894 Consolidate and fix code blocks 2018-04-06 14:18:08 -05:00
Rajkumar Natarajan f25f298963 Fixing the long lines in appendix-stupid-status#100 2018-04-06 12:17:30 -05:00
Niko Matsakis 1aceb34508 link directly to the compile-input function 2018-04-06 12:17:30 -05:00
Rajkumar Natarajan f5ff6d03be Link to internal rustdocs#100 2018-04-06 12:17:30 -05:00
Philip Munksgaard 3c189daf2c Fix typo in rustdoc.md 2018-04-03 10:15:57 -05:00
Dan Robertson 3d4332cd4f Update links
Add missing link and add link for UFCS.
2018-03-29 08:35:25 -05:00
Tomáš Gavenčiak 4d5ad15ad4
Fix a typo 2018-03-27 20:03:56 +02:00
Tomáš Gavenčiak 36179fb741 Add info on test result caching 2018-03-27 11:36:14 -05:00
Mark Mansi 066ba9ef82 reformat basically the whole rustdoc.md 2018-03-26 20:28:00 -05:00
Mark Mansi 9e6cdf3de3 still more long lines 2018-03-26 20:28:00 -05:00
Mark Mansi 2bb61a3f59 More long lines 2018-03-26 20:28:00 -05:00
Mark Mansi 42ef2ad0b8 Fix long lines in conventions 2018-03-26 20:28:00 -05:00
Mark Mansi 80de3962fb Fix long lines in const-eval 2018-03-26 20:28:00 -05:00
Mark Mansi 94757096ad Fix long lines in compiletest 2018-03-26 20:28:00 -05:00
Mark Mansi 8615d9e9b0 Fix long lines in stupid stats appendix 2018-03-26 20:28:00 -05:00
Mark Mansi cd053f3cb4 Fix long lines in glossary 2018-03-26 20:28:00 -05:00
Alexander Regueiro e6acd30581 Hard-wrapped lines that are too long. 2018-03-26 20:28:00 -05:00
Dan Robertson 6136199bf5
Minor grammar and syntax fixes
Minor grammar and syntax fixes found while reading.
2018-03-25 13:50:58 +00:00
Niko Matsakis 28da7a02ac describe how the lowering code works 2018-03-19 10:53:39 -04:00
Mark Mansi 1131ff4bba Add incremental compilation debugging subchapter 2018-03-16 11:45:09 -05:00
Niko Matsakis 52787a6ec4 add names to the trait lowering rules
This allows cross-references from the code.
2018-03-15 15:01:40 -05:00
Who? Me?! 81071c6838 Updated parenthetical 2018-03-15 15:00:10 -05:00
Mark Mansi 7c2af89682 address review comments 2018-03-15 15:00:10 -05:00