about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2018-12-03Rollup merge of #56418 - petrochenkov:wintidy, r=nagisakennytm-0/+0
Fix failing tidy (line endings on Windows) Updates to `rustc-guide` and `edition-guide` including https://github.com/rust-lang/rustc-guide/pull/246 and https://github.com/rust-lang-nursery/edition-guide/pull/122.
2018-12-03Rollup merge of #56402 - scottmcm:better-marker-trait-example, r=Centrilkennytm-6/+8
Improve the unstable book example for #[marker] trait The previous one didn't actually use the Display&Debug bounds in any way, so I think this one is a bit more meaningful.
2018-12-01fix some linkrotted linksAndy Wortman-3/+3
2018-12-02Fix failing tidy (line endings on Windows)Vadim Petrochenkov-0/+0
2018-12-01Fix the file path where AST is definedyui-knk-1/+1
2018-12-01Fix failing tidy (line endings on Windows) (#246)Vadim Petrochenkov-0/+2
This happens every time a new doc submodule is added to https://github.com/rust-lang/rust. cc https://github.com/rust-lang/book/pull/549 https://github.com/rust-lang-nursery/reference/pull/36 https://github.com/rust-lang/rust-by-example/pull/1018
2018-12-01Improve the unstable book example for `#[marker]`Scott McMurray-6/+8
The previous one didn't actually use the Display&Debug bounds in any way, so I think this one is a bit more meaningful.
2018-11-30Removed chapter from Unstable Book.Alexander Regueiro-24/+0
2018-12-01Rollup merge of #56365 - alexreg:stabilise-self_struct_ctor, r=Centrilkennytm-33/+0
Stabilize self_struct_ctor feature. [**Tracking Issue**](https://github.com/rust-lang/rust/issues/51994)
2018-11-30Removed feature gate.Alexander Regueiro-33/+0
2018-11-30Add the edition guide to doc.rust-lang.orgSteve Klabnik-0/+0
2018-11-30update nomiconSteve Klabnik-0/+0
2018-11-29Rollup merge of #56257 - mark-i-m:rustc-guide-links, r=nikomatsakisGuillaume Gomez-2/+2
rustc-guide has moved to rust-lang/ r? @nikomatsakis
2018-11-29Rollup merge of #56148 - mark-i-m:rustc-guide-submodule, r=nikomatsakisGuillaume Gomez-0/+0
Add rustc-guide as a submodule Adding this as a submodule will allow two things: - Linking to the guide from doc.rlo - Doing a link check as part of the rust CI build Key question: Do we want to wait for the book to be filled out more? e.g. do we ever want to move it out of the nursery? r? @nikomatsakis cc @steveklabnik
2018-11-29Rollup merge of #56080 - mark-i-m:patch-2, r=steveklabnikGuillaume Gomez-0/+3
Reduce the amount of bold text at doc.rlo Currently, all of the text is either huge or small. IMHO this is hard to read, so I propose that we make the second-level headings smaller, without making them any less prominent. # Before: ![image](https://user-images.githubusercontent.com/8827840/48737315-50447e80-ec13-11e8-8243-6211dbba1aa1.png) # After: ![image](https://user-images.githubusercontent.com/8827840/48737258-32771980-ec13-11e8-814e-e7851954c05a.png)
2018-11-27remove uses of feature gateMark Mansi-1/+0
2018-11-27remove unstable book entryMark Mansi-22/+0
2018-11-26rustc-guide has movedWho? Me?!-1/+1
2018-11-26fix relative link (#242)Who? Me?!-1/+1
2018-11-26rustc-guide has movedMark Mansi-2/+2
2018-11-26Add rustc-guide as a submoduleMark Mansi-0/+0
2018-11-26Merge pull request #237 from mark-i-m/walkthroughNiko Matsakis-0/+268
start on walkthrough
2018-11-26make the line-length script respect 100 char limit XD (#240)Who? Me?!-1/+3
:rofl: :rofl: :rofl:
2018-11-26add link to stabilization prMark Mansi-1/+9
2018-11-25Rollup merge of #56072 - da-x:stabilize-literal-matcher, r=petrochenkovPietro Albini-17/+0
Stabilize macro_literal_matcher This followed FCP in #35625. Closes #35625
2018-11-25Rollup merge of #56045 - qnighy:additional-sizedness, r=cramertjPietro Albini-2/+0
Check arg/ret sizedness at ExprKind::Path This PR solves three problems: - #50940: ICE on casting unsized tuple struct constructors - Unsized tuple struct constructors were callable in presence of `unsized_locals`. - https://github.com/rust-lang/rust/issues/48055#issuecomment-437178966: we cannot relax `Sized` bounds on stable functions because of fn ptr casting These are caused by lack of `Sized`ness checks for arguments/retvals at **reference sites of `FnDef` items** (not call sites of the functions). Therefore we can basically add more `Sized` obligations on typeck. However, adding `Sized` obligations arbitrarily breaks type inference; to prevent that I added a new method `require_type_is_sized_deferred` which doesn't interfere usual type inference.
2018-11-21Stabilize macro_literal_matcherDan Aloni-17/+0
2018-11-21Modify doc to reflect the unsized-locals improvement.Masaki Hara-2/+0
2018-11-20fix more linksSteve Klabnik-4/+2
2018-11-20update booksSteve Klabnik-0/+0
2018-11-20Merge pull request #228 from tmandry/traits-slgNiko Matsakis-2/+301
Add traits SLG solver section
2018-11-19SLG: Add links and mark-i-m's suggestionsTyler Mandry-49/+68
2018-11-19Reduce the amount of bold text at doc.rust-lang.orgWho? Me?!-0/+3
2018-11-19Link to rustc guideWho? Me?!-0/+6
As proposed in https://github.com/rust-lang-nursery/rustc-guide/issues/239
2018-11-19finish walkthroughMark Mansi-3/+28
2018-11-18resolve: Reintroduce feature gate for uniform paths in importsVadim Petrochenkov-2/+2
2018-11-14Fix typo (#238)Félix Fischer-3/+3
"is is" ~> "it is"
2018-11-11add a bit moreMark Mansi-11/+34
2018-11-10add a bit moreMark Mansi-1/+66
2018-11-10start on walkthroughMark Mansi-0/+147
2018-11-09Don't keep recompiling!Who? Me?!-2/+2
2018-11-09Don't try to build some example code snippetsOliver Scherer-3/+3
2018-11-09Line length checksOliver Scherer-2/+3
2018-11-09Remove a sentence from the end of a chapter because it also appears right at ↵Oliver Scherer-2/+0
the start of the chapter
2018-11-09Clarify aggregatesWho? Me?!-1/+1
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09Missing connection between two consecutive sentencesWho? Me?!-1/+2
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09english is hardWho? Me?!-1/+1
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09caps nitWho? Me?!-1/+1
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09Grammar nitWho? Me?!-1/+1
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09Fix tidyOliver Scherer-1/+4