summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2018-12-17Update the book to fix some edition-related bugsCarol (Nichols || Goulding)-0/+0
2018-12-08build the edition guideSteve Klabnik-0/+0
and update it so that links are correct
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-02Fix failing tidy (line endings on Windows)Vadim Petrochenkov-0/+0
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 movedMark Mansi-2/+2
2018-11-26Add rustc-guide as a submoduleMark Mansi-0/+0
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-19Reduce the amount of bold text at doc.rust-lang.orgWho? Me?!-0/+3
2018-11-18resolve: Reintroduce feature gate for uniform paths in importsVadim Petrochenkov-2/+2
2018-11-09don't inline `pub use some_crate` unless directly asked toQuietMisdreavus-0/+3
2018-11-03Added section to Unstable Book.Alexander Regueiro-0/+34
2018-11-02Auto merge of #54543 - GuillaumeGomez:top-level-index, r=QuietMisdreavusbors-11/+24
Add index page argument @Mark-Simulacrum: I might need some help from you: in bootstrap, I want to add an argument (a new flag added into `rustdoc`) in order to generate the current index directly when `rustdoc` is documenting the `std` lib. However, my change in `bootstrap` didn't do it and I assume it must be moved inside the `Std` struct. But there, I don't see how to pass it to `rustdoc` through `cargo`. Did I miss anything? r? @QuietMisdreavus
2018-11-02Move doc_alias docGuillaume Gomez-16/+16
2018-11-02Add documentation for index-page featuresGuillaume Gomez-0/+13
2018-10-24Reflect by-value object safety in the unstable book.Masaki Hara-4/+2
2018-10-20update books for the next releaseSteve Klabnik-0/+0
2018-10-16[Rustc Book] Quotes around value in --cfg exampleHavvy (Ryan Scheel)-1/+1
2018-10-15[Rustc Book] Explain --cfg's argumentsHavvy (Ryan Scheel)-0/+5
2018-10-14Unused result warning: "X which must" ↦ "X that must"varkor-3/+3
2018-10-10Rollup merge of #54870 - flip1995:stabilize_tool_lints, r=ManishearthManish Goregaokar-35/+0
Fixes #47311. r? @nrc
2018-10-10Rollup merge of #54862 - Havvy:cfg_attr_multi, r=petrochenkovManish Goregaokar-0/+20
Fixes #47311. r? @nrc
2018-10-09Remove unstable-book documentationflip1995-35/+0
2018-10-07cfg-attr-multi: Change issue number to actual tracking issueHavvy (Ryan Scheel)-2/+2
2018-10-08Auto merge of #54609 - kzys:404-search, r=GuillaumeGomezbors-21/+54
Add the library search box on the 404 page It actually has a link to search already, but it would be better to have the search "box" as like index.md to be consistent. <style> can be shared with index.md, but these pages currently use https://doc.rust-lang.org/rust.css directly. Fixes #14572.
2018-10-07cfg_attr_multi: Feature gateHavvy (Ryan Scheel)-0/+20
2018-10-05dro -> duckduckgoKazuyoshi Kato-2/+2
dro means "doc.rust-lang.org", but it is too cryptic.
2018-10-01Introduce language items for `Arc` and `Rc`.David Wood-0/+2
This commit introduces language items for `Arc` and `Rc` so that types can later be checked to be `Arc` or `Rc` in the NLL borrow checker. The `lang` attribute is currently limited to `stage1` as it requires a compiler built with knowledge of the expected language items.
2018-09-30Unify the search boxesKazuyoshi Kato-24/+40
Instead of having the standard library search and DuckDuckGo search. This change merges two of them, with radio buttons.
2018-09-26Add the library search box on the 404 pageKazuyoshi Kato-15/+32
It actually has a link to search already, but it would be better to have the search "box" as like index.md to be consistent. <style> can be shared with index.md, but these pages currently use https://doc.rust-lang.org/rust.css directly. Fixes #14572.
2018-09-26docs: this llvm feature only supports the ELF object formatJorge Aparicio-0/+4
2018-09-26unstable-book: recommend an INFO sectionJorge Aparicio-8/+18
that makes the output .stack_sizes section non-allocatable when linking with either GNU LD or LLD
2018-09-26document this feature in the unstable bookJorge Aparicio-0/+153
2018-09-25Auto merge of #54575 - pietroalbini:rollup, r=pietroalbinibors-3/+21
Rollup of 12 pull requests Successful merges: - #53518 (Add doc for impl From in char_convert) - #54058 (Introduce the partition_dedup/by/by_key methods for slices) - #54281 (Search box) - #54368 (Reduce code block sides padding) - #54498 (The project moved under the Mozilla umbrella) - #54518 (resolve: Do not block derive helper resolutions on single import resolutions) - #54522 (Fixed three small typos.) - #54529 (aarch64-pc-windows-msvc: Don't link libpanic_unwind to libtest.) - #54537 (Rename slice::exact_chunks() to slice::chunks_exact()) - #54539 (Fix js error) - #54557 (incr.comp.: Don't automatically enable -Zshare-generics for incr. comp. builds.) - #54558 (Improvements to finding LLVM's FileCheck) Failed merges: r? @ghost