Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 26 pull requests #40595

Closed
wants to merge 81 commits into from
Closed

Rollup of 26 pull requests #40595

wants to merge 81 commits into from

Commits on Mar 9, 2017

  1. Configuration menu
    Copy the full SHA
    13341f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2017

  1. some style fixes

    tshepang committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    b38992c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b7b262 View commit details
    Browse the repository at this point in the history
  3. fix format grammar

    llogiq committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    adba642 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e49f79 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    11d3344 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. Configuration menu
    Copy the full SHA
    8b9b3b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b7f330 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e06c515 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    327e8e9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0dd03ff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    137c1e8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e58e3d0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d3ae2eb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1545f4e View commit details
    Browse the repository at this point in the history
  10. A few improvements to the core::hash top-level docs.

    Primarily opened to address the concerns brought up in
    rust-lang#40498.
    
    * run rustfmt on code blocks
    * use `DefaultHasher` instead of deprecated `SipHasher`
    * rename `hash` to `calculate_hash` to prevent confusion with the `hash`
      method
    frewsxcv committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    5cc056a View commit details
    Browse the repository at this point in the history
  11. travis: Ensure cargo links libcurl statically

    We don't want a dynamic dependency in the library that we ship, so link it
    statically by configuring curl-sys's build script to not pick up the system
    version via pkg-config.
    alexcrichton committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    5fab9bf View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0671cc1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9a7b789 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4d57d92 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5537955 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    bda57db View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6adbbfc View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    cc08edc View commit details
    Browse the repository at this point in the history
  19. Target builds for older macOS

    wagenet committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    61d9387 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8b7c7f3 View commit details
    Browse the repository at this point in the history
  21. Point out correct turbofish usage on Foo<Bar<Baz>>

    Whenever we parse a chain of binary operations, as long as the first
    operation is `<` and the subsequent operations are either `>` or `<`,
    present the following diagnostic help:
    
        use `::<...>` instead of `<...>` if you meant to specify type arguments
    
    This will lead to spurious recommendations on situations like
    `2 < 3 < 4` but should be clear from context that the help doesn't apply
    in that case.
    estebank committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    e3b8550 View commit details
    Browse the repository at this point in the history
  22. Make docs required again

    brson committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    3554ff3 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2017

  1. Ammended minor documentation detail abour Unicode cases.

    Eric Findlay committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    18a8494 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f23d448 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b4a1b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f789955 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b60879a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    698c1bb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    86b48b2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    52d9682 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c2d2c2d View commit details
    Browse the repository at this point in the history
  10. rustbuild: Retry downloads of OpenSSL source

    We need this to compile Cargo and we download it at build time, but as like all
    other network requests it has a chance of failing. This commit moves the source
    of the tarball to a mirror (S3 seems semi-more-reliable most of the time) and
    also wraps the download in a retry loop.
    
    cc rust-lang#40474
    alexcrichton committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    5de0406 View commit details
    Browse the repository at this point in the history
  11. Fix documentation for Vec::dedup_by.

    The previous docstring was copied from dedup_by_key.
    kevinmehall committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    e66b3a2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0739ece View commit details
    Browse the repository at this point in the history
  13. Remove the existing book

    We'll bring this back in with the next commit, as a submodule.
    steveklabnik committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    4d8bd05 View commit details
    Browse the repository at this point in the history
  14. Import submodule for the book.

    It's all in the external repository now.
    steveklabnik committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    cc56c7d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    65cc839 View commit details
    Browse the repository at this point in the history
  16. build book index

    steveklabnik committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    8372e11 View commit details
    Browse the repository at this point in the history
  17. Render redirect pages.

    These pages will help people who have links to the older book.
    steveklabnik committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    73b46a0 View commit details
    Browse the repository at this point in the history
  18. Fix up some issues.

    Becuase I had run a `x.py doc` before doing this work, I had
    accidentally relied on some files existing in places that they didn't
    need to be.
    steveklabnik committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    11c44aa View commit details
    Browse the repository at this point in the history
  19. fix whitespace

    steveklabnik committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    62b280a View commit details
    Browse the repository at this point in the history
  20. skip nostarch directory

    This is for coordinating with our publishers; we don't ever want to test it.
    steveklabnik committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    1d0b1e3 View commit details
    Browse the repository at this point in the history
  21. Update book and reference submodules

    Some links needed adjustment to support this new scheme.
    steveklabnik committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    714ed07 View commit details
    Browse the repository at this point in the history
  22. Fix up various links

    The unstable book, libstd, libcore, and liballoc all needed some
    adjustment.
    steveklabnik committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    9d2cfd4 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    a26162e View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    3d8d376 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    befeb04 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2017

  1. Configuration menu
    Copy the full SHA
    3d01e1a View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2017

  1. Configuration menu
    Copy the full SHA
    bc6eecd View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#40332 - steveklabnik:extract-book, r=alexcr…

    …ichton
    
    Extract book into a submodule
    
    Part of rust-lang#39588
    
    We probably don't want to land this till after the beta branches on friday, but would still ❤️ a review from @alexcrichton , since I am a rustbuild noob.
    
    This pr:
    
    1. removes the book
    2. adds it back in as a submodule
    3. the submodule includes both the old book and the new book
    4. it also includes an index page explaining the difference in editions
    5. it also includes redirect pages for the old book URLs.
    6. so we build all that stuff too.
    
    r? @alexcrichton
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    f722ee0 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#40387 - tbu-:pr_doc_ptr_write2, r=steveklabnik

    Reword the non-dropping of `src` for `ptr::write{,_unaligned}`
    
    @niconii Is it OK if I put your wording into the documentation?
    CC @nagisa
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    a91ecdb View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#40433 - mattico:test-issue-29595, r=estebank

    Add test for issue rust-lang#29595
    
    Closes rust-lang#29595
    
    Couldn't get this to run locally, all the compile-fail tests are ignored... let's see what Travis says.
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    c7c533f View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#40452 - frewsxcv:frewsxcv-unstable-docs, r=…

    …GuillaumeGomez
    
    Add basic documentation/examples for six unstable features.
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    fefd84e View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#40458 - frewsxcv:frewsxcv-osstr, r=Guillaum…

    …eGomez
    
    Add doc examples for `OsStr`, `OsString`.
    
    None
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    ced41ef View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#40463 - tshepang:nit, r=nikomatsakis

    some style fixes
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    68c8b63 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#40467 - projektir:readme_docs, r=steveklabnik

    Updating README.md to point to the correct doc location
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    1c4f0ba View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#40482 - wagenet:fix-old-macos, r=alexcrichton

    Target builds for older macOS
    
    Fix rust-lang#40481
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    b5a5ee4 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40495 - llogiq:format-docs, r=steveklabnik

    fix format grammar
    
    This is just a trivial change to get the escaped squigglies into the grammar.
    
    r? @steveklabnik
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    28104d0 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#40496 - projektir:docs_number_headings, r=f…

    …rewsxcv
    
    Using X headings rust-lang#39850
    
    Fix for issue rust-lang#39850, the headings should now be 1, 2, and 3.
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    81093a1 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#40497 - wesleywiser:fix_sidebar, r=Guillaum…

    …eGomez
    
    Fix sidebar not extending to the bottom of the page
    
    Fixes rust-lang#40459
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    be2d891 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#40499 - ericfindlay:master, r=steveklabnik

    Corrected very minor documentation detail about Unicode and Japanese
    
    Japanese half-width and full-width romaji characters do have upper and lowercase according Unicode (but other Japanese characters do not). For example,
    ` assert_eq!('\u{FF21}'.to_lowercase().collect::<String>(),"\u{FF41}");`
    
    r? @steveklabnik
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    9938a80 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#40500 - estebank:turbofish-help, r=pnkfelix

    Point out correct turbofish usage on `Foo<Bar<Baz>>`
    
    Whenever we parse a chain of binary operations, as long as the first
    operation is `<` and the subsequent operations are either `>` or `<`,
    present the following diagnostic help:
    
        use `::<...>` instead of `<...>` if you meant to specify type arguments
    
    This will lead to spurious recommendations on situations like
    `2 < 3 < 4` but should be clear from context that the help doesn't apply
    in that case.
    
    Fixes rust-lang#40396.
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    a53bfcc View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#40503 - swgillespie:thread-hack-removal, r=…

    …sfackler
    
    std: remove a workaround for privacy limitations
    
    `std::thread::Thread` implements a non-exported `NewThread` trait to allow for internal-only use of `Thread::new`. Nowadays we have `pub(crate)`, which accomplishes the same thing but much more idiomatically.
    
    Rustdoc handles this correctly (I checked and I didn't see `Thread::new` on the rustdoc entry for `Thread` with this change), and the stage1 `rustc` emits the correct error still (I'm assuming that the stage1 compiler uses my `libstd`?):
    
    ```
    $ ./build/x86_64-apple-darwin/stage1/bin/rustc test.rs
    error: method `new` is private
     --> test.rs:4:18
      |
    4 |     let thread = thread::Thread::new(None);
      |                  ^^^^^^^^^^^^^^^^^^^
    
    error: aborting due to previous error
    ```
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    8b0d071 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#40505 - frewsxcv:hash-docs, r=alexcrichton

    A few improvements to the `core::hash` top-level docs.
    
    Primarily opened to address the concerns brought up in
    rust-lang#40498.
    
    * run rustfmt on code blocks
    * use `DefaultHasher` instead of deprecated `SipHasher`
    * rename `hash` to `calculate_hash` to prevent confusion with the `hash`
      method
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    a463ba8 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#40507 - alexcrichton:static-libcurl, r=brson

    travis: Ensure cargo links libcurl statically
    
    We don't want a dynamic dependency in the library that we ship, so link it
    statically by configuring curl-sys's build script to not pick up the system
    version via pkg-config.
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    6a8b974 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#40512 - nodakai:patch-1, r=alexcrichton

    .gitmodules: use official URLs w/o redirect
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    7d0ad91 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ea54a37 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#40520 - steveklabnik:link-core-slice, r=ale…

    …xcrichton
    
    Link core::slice to std::slice
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    bec8f5d View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#40526 - brson:docs-req, r=alexcrichton

    Make docs required again
    
    Completely untested. Fixes rust-lang/rustup#903
    
    r? @alexcrichton cc @steveklabnik
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    0ae763d View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#40536 - kevinmehall:dedup_docs_for_dedup_by…

    …, r=steveklabnik
    
    Fix documentation for Vec::dedup_by.
    
    The previous docstring was copied from dedup_by_key.
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    76ac8fd View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#40538 - aturon:stab-1.17, r=alexcrichton

    Library stabilizations for 1.17
    
    Details of the stabilizations are available in the commits. Includes only library stabilizations; there are a couple of compiler stabilizations that should also be done for 1.17.
    
    Will need a beta backport, which I will create after approval.
    
    r? @alexcrichton
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    5616df5 View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#40539 - clarcharr:no_default_path, r=alexcr…

    …ichton
    
    Removes Default for Box<Path>.
    
    This was not supposed to be added. cc @alexcrichton
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    37863ab View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#40545 - alexcrichton:retry-download-openssl…

    …, r=nikomatsakis
    
    rustbuild: Retry downloads of OpenSSL source
    
    We need this to compile Cargo and we download it at build time, but as like all
    other network requests it has a chance of failing. This commit moves the source
    of the tarball to a mirror (S3 seems semi-more-reliable most of the time) and
    also wraps the download in a retry loop.
    
    cc rust-lang#40474
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    7e313ab View commit details
    Browse the repository at this point in the history
  26. Rollup merge of rust-lang#40562 - mbrubeck:bootstrap, r=alexcrichton

    Remove unused param from bootstrap::clean::rm_rf
    
    None
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    683637b View commit details
    Browse the repository at this point in the history
  27. Rollup merge of rust-lang#40586 - steveklabnik:add-unstable-sort-to-u…

    …nstable-book, r=frewsxcv
    
    add sort_unstable to unstable book
    
    cc rust-lang#40585
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    7569ddc View commit details
    Browse the repository at this point in the history