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 12 pull requests #44169

Merged
merged 28 commits into from
Aug 30, 2017
Merged

Rollup of 12 pull requests #44169

merged 28 commits into from
Aug 30, 2017

Commits on Aug 7, 2017

  1. Configuration menu
    Copy the full SHA
    51b29d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5383205 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2017

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

Commits on Aug 17, 2017

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

Commits on Aug 23, 2017

  1. Add reset_err_count() to errors::Handler

    The motivation here is to allow rustfmt to recover from parse errors
    after failing to parse macros.
    topecongiro committed Aug 23, 2017
    Configuration menu
    Copy the full SHA
    601e3da View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2017

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

Commits on Aug 26, 2017

  1. Do not include the src/Cargo.toml

    distcheck complains that this file references projects not cotnained in the tarball
    RalfJung committed Aug 26, 2017
    Configuration menu
    Copy the full SHA
    bd24325 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2017

  1. Fail ./x.py on invalid command

    Make the ./x.py script fail when run with an invalid command, like:
    
      ./x.py nonsense
    
    This helps in case of chaining multiple runs, eg.:
    
      ./x.py biuld && ./x.py test
    vorner committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    6fc35de View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2017

  1. bootstrap: remove unneeded extern crate

    The crate itself is internally referenced by serde_derive.
    ishitatsuyuki committed Aug 28, 2017
    Configuration menu
    Copy the full SHA
    45d31ac View commit details
    Browse the repository at this point in the history
  2. compiletest: Change Config comments to doc comments

    Thomas Jespersen committed Aug 28, 2017
    Configuration menu
    Copy the full SHA
    2bffa31 View commit details
    Browse the repository at this point in the history
  3. Rewrite std::net::ToSocketAddrs doc examples.

    in particular:
    
    * show how to create an iterator that yields multiple socket addresses
    * show more failing scenarios
    frewsxcv committed Aug 28, 2017
    Configuration menu
    Copy the full SHA
    10bd39e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f19383 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f50bf86 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2017

  1. Configuration menu
    Copy the full SHA
    d66f0c2 View commit details
    Browse the repository at this point in the history
  2. rustbuild: Fix dependencies of build-manifest

    No need to depend on librustc! All we need is libstd
    
    Closes rust-lang#44140
    alexcrichton committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    ecd127d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4312ed7 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#43705 - panicbit:option_ref_mut_cloned, r=a…

    …turon
    
    libcore: Implement cloned() for Option<&mut T>
    
    None
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    11e75fd View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#43778 - topecongiro:handler-reset-err-count…

    …, r=arielb1
    
    Add reset_err_count() to errors::Handler
    
    The motivation here is to allow rustfmt to recover from parse errors after failing to parse macros (cc rust-lang/rustfmt#1742).
    r? @nrc
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    64a21f8 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#43918 - mystor:rustdoc-pound, r=QuietMisdre…

    …avus
    
    Don't highlight # which does not start an attribute in rustdoc
    
    Currently when we highlight some macros for rustdoc (e.g. `quote!` from https://github.com/dtolnay/quote), we get really bad syntax highlighting, because we assume that every token between a `#` character and the next `]` in the source must be an attribute.
    
    This patch improves that highlighting behavior to instead only highlight after finding the `[` token after the `#` token.
    
    (NOTE: I've only run this patch against https://github.com/nrc/rustdoc-highlight so if it doesn't build on travis that's why - I don't have a recent rustc build on this laptop)
    
    I'm guessing r? @steveklabnik
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    b1fff23 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#44076 - RalfJung:src, r=alexcrichton

    include Cargo.{toml,lock} in rust-src tarball
    
    The lock file is interesting because e.g. xargo could use it to build libstd against the same dependencies that were used for the main build. More generally speaking, just documenting in this form which exact dependencies should be used IMHO makes lots of sense.
    
    I added the Cargo.toml mostly because having the lock without the toml feels odd. Of course, the toml contains references to paths that don't actually exist in the rust-src tarball. Not sure if that is considered a problem.
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    ba304b9 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#44117 - frewsxcv:frewsxcv-to-socket-addrs-e…

    …xamples, r=QuietMisdreavus
    
    Rewrite `std::net::ToSocketAddrs` doc examples.
    
    in particular:
    
    * show how to create an iterator that yields multiple socket addresses
    * show more failing scenarios
    
    done this as preliminary work while investigating rust-lang#22569
    
    note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    30907e1 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#44121 - ishitatsuyuki:bootstrap-deps-purge,…

    … r=Mark-Simulacrum
    
    bootstrap: remove unneeded extern crate
    
    The crate itself is internally referenced by serde_derive.
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    ec83eda View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#44126 - laumann:config-doc-comments, r=niko…

    …matsakis
    
    compiletest: Change Config comments to doc comments
    
    I plan to make the same change in compiletest-rs, to have some documentation in [the docs](https://docs.rs/compiletest_rs/0.2.9/compiletest_rs/common/struct.Config.html).
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    29f360b View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#44134 - vorner:x-py-unknown-cmd, r=nikomats…

    …akis
    
    Fail ./x.py on invalid command
    
    Make the ./x.py script fail when run with an invalid command, like:
    
    ```
    ./x.py nonsense
    ```
    
    This helps in case of chaining multiple runs, eg.:
    
    ```
    ./x.py biuld && ./x.py test
    ```
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    d59aa7d View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#44135 - GuillaumeGomez:fix-css-links, r=Qui…

    …etMisdreavus
    
    Fix invalid linker position
    
    Fixes rust-lang#44120.
    
    Result isn't "optimal" though because there are spaces at the end of some lines.
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    588f833 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#44141 - nrc:rls-preview-beta, r=alexcrichton

    Rename the rls component to rls-preview on beta/stable
    
    Background is that we will have automatic renaming with the next rustup release. We'll then rename rls to rls-preview. In the meantime, this ensures beta/stable users will always have rls-preview.
    
    r? @alexcrichton
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    294ce22 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#44144 - alexcrichton:faster-hash-and-sign, …

    …r=Mark-Simulacrum
    
    rustbuild: Fix dependencies of build-manifest
    
    No need to depend on librustc! All we need is libstd
    
    Closes rust-lang#44140
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    a88757e View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#44158 - dtolnay:zero48, r=sfackler

    Use a byte literal ASCII 0 instead of its decimal value
    
    @SimonSapin noticed this in dtolnay/itoa#8.
    Ariel Ben-Yehuda authored Aug 29, 2017
    Configuration menu
    Copy the full SHA
    be0ac01 View commit details
    Browse the repository at this point in the history