about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2018-08-19Fix typos found by codespell.Matthias Krüger-9/+9
2018-08-19Remove a now-unnecessary paragraph.Masaki Hara-19/+0
The paragraph described a case where we can't optimize away repetitive dynamic stack allocation. However, as arielb1 pointed out, it can actually optimizable by dynamically delaying the stack unwinding.
2018-08-19Update the unstable book regarding [e; dyn n].Masaki Hara-3/+3
2018-08-19Add an unstable-book article about unsized_locals.Masaki Hara-0/+199
2018-08-18Auto merge of #53324 - alexreg:self_in_typedefs, r=eddybbors-0/+24
`Self` in type definitions (self_in_typedefs) This implements the [`self_in_typedefs` feature](https://github.com/rust-lang/rfcs/blob/master/text/2300-self-in-typedefs.md) ([tracking issue 49303](https://github.com/rust-lang/rust/issues/49303)). r? @eddyb CC @Centril
2018-08-18Added page for feature to unstable book.Alexander Regueiro-0/+24
2018-08-17rustc_resolve: don't allow paths starting with `::crate`.Eduard-Mihai Burtescu-8/+3
2018-08-17Rollup merge of #53395 - varkor:__Nonexhaustive-to-non_exhaustive, r=shepmasterkennytm-10/+0
Use #[non_exhaustive] on internal enums This replaces `__Nonexhaustive` variants (and variants thereof) with `#[non_exhaustive]`. These were mostly unstable previously, with the exception of the `cloudabi` enums and `Level` in proc_macro: these were `#[doc(hidden)]`, so clearly intended not to be used directly. It should be safe to replace all of these.
2018-08-15Remove outdated Unstable Book sectionsvarkor-10/+0
2018-08-13review commentEsteban Küber-1/+1
2018-08-11Extend documentation of `rustc_on_unimplemented`Esteban Küber-2/+95
2018-08-11More descriptive name for #[test] implementationJohn Renner-1/+1
2018-08-11Shorten line lengthJohn Renner-20/+29
2018-08-11Add testing chapterJohn Renner-0/+146
2018-08-09Update compiler test documentationTom Tromey-2/+12
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-01Rollup merge of #52831 - dsciarra:rm-ref-to-author-file, r=alexcrichtonPietro Albini-1/+1
remove references to AUTHORS.txt file Rust does not ship an AUTHORS.txt file anymore.
2018-07-31Auto merge of #52863 - steveklabnik:update-books, r=Mark-Simulacrumbors-0/+0
update books for new release r? @Mark-Simulacrum
2018-07-30update books for new releasesteveklabnik-0/+0
2018-07-30Remove references to AUTHORS.txt fileDonato Sciarra-1/+1
Refer instead to thanks page.
2018-07-28Auto merge of #52711 - eddyb:unsized-manuallydrop, r=nikomatsakisbors-0/+0
Change ManuallyDrop<T> to a lang item. This PR implements the approach @RalfJung proposes in https://internals.rust-lang.org/t/pre-rfc-unions-drop-types-and-manuallydrop/8025 (lang item `struct` instead of `union`). A followup PR can easily solve #47034 as well, by just adding a few `?Sized` to `libcore/mem.rs`. r? @nikomatsakis
2018-07-27uodate reference again to hopefully fix all link issuesRalf Jung-0/+0
2018-07-27add section in booktoidiu-0/+45
2018-07-27update reference to fix linksRalf Jung-0/+0
2018-07-23update nightly bookmark-2/+4
2018-07-18Fix links in rustdoc book.Eric Huss-2/+2
Due to a change in how mdbook generates section anchors, headers with non-alphabetic characters now start with "a".
2018-07-17Rollup merge of #52338 - RalfJung:miri, r=oli-obkkennytm-241/+0
update miri
2018-07-16minor improvementsmark-1/+6
2018-07-16add notes about generating llvm irmark-53/+117
2018-07-16line lengthmark-6/+7
2018-07-16add a bit on llvmmark-1/+48
2018-07-16rustc: Stabilize much of the `proc_macro` featureAlex Crichton-241/+0
This commit stabilizes some of the `proc_macro` language feature as well as a number of APIs in the `proc_macro` crate as [previously discussed][1]. This means that on stable Rust you can now define custom procedural macros which operate as attributes attached to items or `macro_rules!`-like bang-style invocations. This extends the suite of currently stable procedural macros, custom derives, with custom attributes and custom bang macros. Note though that despite the stabilization in this commit procedural macros are still not usable on stable Rust. To stabilize that we'll need to stabilize at least part of the `use_extern_macros` feature. Currently you can define a procedural macro attribute but you can't import it to call it! A summary of the changes made in this PR (as well as the various consequences) is: * The `proc_macro` language and library features are now stable. * Other APIs not stabilized in the `proc_macro` crate are now named under a different feature, such as `proc_macro_diagnostic` or `proc_macro_span`. * A few checks in resolution for `proc_macro` being enabled have switched over to `use_extern_macros` being enabled. This means that code using `#![feature(proc_macro)]` today will likely need to move to `#![feature(use_extern_macros)]`. It's intended that this PR, once landed, will be followed up with an attempt to stabilize a small slice of `use_extern_macros` just for procedural macros to make this feature 100% usable on stable. [1]: https://internals.rust-lang.org/t/help-stabilize-a-subset-of-macros-2-0/7252
2018-07-16update nomiconRalf Jung-0/+0
2018-07-14add a bit about buffered lintsmark-0/+38
2018-07-14Update lint plugin sample code.eonil-0/+2
2018-07-10update definitionsmark-2/+2
2018-07-10Attempt to address review commentsmark-8/+8
2018-07-10define FileMap; fix #35mark-6/+8
2018-07-09fix lacking spacesmark-5/+5
2018-07-09fix all the not-en-dashesmark-100/+100
2018-07-09Update mdbookEric Huss-1/+1
Closes #138 Closes #160
2018-07-09Add the small amount i know about hygiene (#167)Who? Me?!-0/+50
* add the small amount i know about hygiene * use en-dash
2018-07-08Quick fix: copy/paste errorWho? Me?!-5/+0
2018-07-08md -> htmlOliver Schneider-1/+1
2018-07-08Satisfy tidy checksOliver Schneider-23/+24
2018-07-08Add some details about `DefId` creationOliver Schneider-1/+13
2018-07-08Address reviewOliver Schneider-1/+3
2018-07-08Add some explanation of lowering idsOliver Schneider-1/+37
2018-07-06Auto merge of #52018 - flip1995:rfc2103, r=oli-obkbors-0/+35
Implementation of tool lints. Tracking issue: #44690
2018-07-05add a link to the rustc docsmark-0/+4
2018-07-04"and has" → "because it has"Zack M. Davis-2/+3