about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2018-05-16Fix grammar documentation wrt Unicode identifiersbstrie-11/+6
The grammar defines identifiers in terms of XID_start and XID_continue, but this is referring to the unstable non_ascii_idents feature. The documentation implies that non_ascii_idents is forthcoming, but this is left over from pre-1.0 documentation; in reality, non_ascii_idents has been without even an RFC for several years now, and will not be stabilized anytime soon. Furthermore, according to the tracking issue at https://github.com/rust-lang/rust/issues/28979 , it's highly questionable whether or not this feature will use XID_start or XID_continue even when or if non_ascii_idents is stabilized. This commit fixes this by respecifying identifiers as the usual [a-zA-Z_][a-zA-Z0-9_]*
2018-05-15invokations -> invocationsTakanori Ishibashi-1/+1
2018-05-15Rollup merge of #50594 - sanxiyn:man-print, r=steveklabnikGuillaume Gomez-1/+1
Update the man page with additional --print options `\:` is a `groff` for `<wbr>` to get better line breaking.
2018-05-15Turn deprecation lint `legacy_imports` into a hard errorVadim Petrochenkov-37/+0
2018-05-14Merge pull request #131 from sunjay/overview-of-chalkNiko Matsakis-0/+151
Added An Overview of Chalk
2018-05-14Missed a few things because of GitHub's UISunjay Varma-0/+3
2018-05-14Even more review changesSunjay Varma-1/+2
2018-05-14More review changesSunjay Varma-10/+11
2018-05-14Changes from reviewSunjay Varma-7/+9
2018-05-13stabilize :lifetimeAlex Burka-14/+0
2018-05-13Macros: Add a 'literal' fragment specifierDan Aloni-0/+17
Implements RFC 1576. See: https://github.com/rust-lang/rfcs/blob/master/text/1576-macros-literal-matcher.md Changes are mostly in libsyntax, docs, and tests. Feature gate is enabled for 1.27.0. Many thanks to Vadim Petrochenkov for following through code reviews and suggestions. Example: ````rust macro_rules! test_literal { ($l:literal) => { println!("literal: {}", $l); }; ($e:expr) => { println!("expr: {}", $e); }; } fn main() { let a = 1; test_literal!(a); test_literal!(2); test_literal!(-3); } ``` Output: ``` expr: 1 literal: 2 literal: -3 ```
2018-05-12remove have completedMark Mansi-1/+1
2018-05-12reword HIR intro. Fix #116Mark Mansi-6/+7
2018-05-11Updating links to match latest codeSunjay Varma-7/+7
2018-05-11Make chapter links in compiletest not be codeC Jones-3/+3
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-10Ignoring code examples that aren't actually compile-ableSunjay Varma-2/+2
2018-05-10Lines must be <= 80 characters UNLESS there is a linkSunjay Varma-2/+3
2018-05-10Added an overview of chalkSunjay Varma-0/+143
2018-05-10Closing all <a> tagsSunjay Varma-31/+33
2018-05-10Deleted <a> tag which was messing up the associated types pageSunjay Varma-3/+0
2018-05-10Update adding.mdTomáš Gavenčiak-2/+2
Rename `must-compile-successfully` to `compile-pass` in ui test doc as per https://github.com/rust-lang/rust/issues/49568.
2018-05-10Merge pull request #129 from rajcspsg/issue_84Michael Bryan-0/+5
Issue84 Add note about ./x.py build
2018-05-10Issue84 Add note about ./x.py buildRajkumar Natarajan-0/+5
2018-05-10Update the man page with additional --print optionsSeo Sanghyeon-1/+1
2018-05-08update to mdbook 0.1.7Mark Mansi-1/+1
2018-05-08Add how to run tidy script in isolation to textgnzlbg-1/+2
This is already mentioned elsewhere, but important things are repeated twice. Closes #124
2018-05-08Auto merge of #50390 - hdhoang:46205_deny_by_default, r=nikomatsakisbors-41/+41
lint: deny incoherent_fundamental_impls by default Warn the ecosystem of the pending intent-to-disallow in #49799. There are 4 ICEs on my machine, look unrelated (having happened before in https://github.com/rust-lang/rust/issues/49146#issuecomment-384473523) ```rust thread 'main' panicked at 'assertion failed: position <= slice.len()', libserialize/leb128.rs:97:1 ``` ``` [run-pass] run-pass/allocator/xcrate-use2.rs [run-pass] run-pass/issue-12133-3.rs [run-pass] run-pass/issue-32518.rs [run-pass] run-pass/trait-default-method-xc-2.rs ``` r? @nikomatsakis
2018-05-05Update books for the next release.Corey Farwell-0/+0
2018-05-03ignore erroneous exampleHoàng Đức Hiếu-1/+1
2018-05-03fix error textHoàng Đức Hiếu-1/+1
2018-05-03doc: move incoherent_fundamental_impls to deny-by-default listingHoàng Đức Hiếu-41/+41
2018-05-02Add tool_attributes feature to unstable bookSeiichi Uchida-0/+26
2018-04-30Auto merge of #48925 - zackmdavis:fn_must_stabilize, r=nikomatsakisbors-30/+0
stabilize `#[must_use]` for functions and must-use comparison operators (RFC 1940) r? @nikomatsakis
2018-04-30Auto merge of #50163 - kornelski:error, r=Kimundibors-0/+0
Bury Error::description() Second attempt of #49536 https://github.com/rust-lang/rfcs/pull/2230 The exact wording of the default implementation is still up in the air, but I think it's a detail that can be amended later.
2018-04-28stabilize `#[must_use]` for functions and must-use operatorsZack M. Davis-30/+0
This is in the matter of RFC 1940 and tracking issue #43302.
2018-04-28appendix-background: Link to *Static Program Analysis*Nick Fitzgerald-0/+3
A+++++ resource IMHO!
2018-04-28lint add dotsEhsan M.Kermani-4/+4
2018-04-28fix max line lenEhsan M.Kermani-4/+6
2018-04-28expand compilation stagesEhsan M.Kermani-8/+15
2018-04-27Rollup merge of #49707 - steveklabnik:rustc-book, r=QuietMisdreavuskennytm-0/+2512
Add "the Rustc book" This PR introduces a new book into the documentation, "The rustc book". We already have books for Cargo, and for Rustdoc, rustc should have some too. This book is focused on *users* of rustc, and provides a nice place to write documentation for users. I haven't put content here, but plan on scaffolding it out very soon, and wanted this PR open for a few discussions first. One of those is "what exactly should said TOC be?" I plan on having a proposed one up tomorrow, but figured I'd let people know to start thinking about it now. The big one is that we also will want to put https://github.com/rust-lang-nursery/rustc-guide in-tree as well, and the naming is... tough. I'm proposing: * doc.rust-lang.org/rustc is "The Rustc book", to mirror the other tools' books. * doc.rust-lang.org/rustc-contribution is "The Rustc contribution guide", and contains that book @nikomatsakis et al, any thoughts on this? I'm not attached to it in particular, but had to put something together to get this discussion going. I think mirroring the other tools is a good idea for this work, but am not sure where exactly that leaves yours. Fixes https://github.com/rust-docs/team/issues/11
2018-04-25Update book submodule to pass linkchecker testKornel-0/+0
2018-04-24more nitssteveklabnik-3/+3
2018-04-23review nitssteveklabnik-9/+8
2018-04-22Add doc about doc alias featureGuillaume Gomez-0/+39
2018-04-17stabilize `slice_rsplit` featuretinaun-10/+0
2018-04-17Rollup merge of #49994 - frewsxcv:frewsxcv-doc-tests, r=QuietMisdreavuskennytm-19/+19
Remove unnecessary indentation in rustdoc book codeblock. None
2018-04-16write docs for targetssteveklabnik-0/+38
2018-04-16fill out contributingsteveklabnik-0/+5
2018-04-16fill out command line argumentssteveklabnik-2/+61
2018-04-16Remove unnecessary indentation in rustdoc book codeblock.Corey Farwell-19/+19