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 10 pull requests #59868

Closed
wants to merge 23 commits into from
Closed

Commits on Apr 3, 2019

  1. Add documentation on the -Z flag on the command-line arguments sectio…

    …n in the rustc book.
    Christian committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    5c7a944 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2019

  1. remove lookup_char_pos_adj

    It is now exactly equivalent to lookup_char_pos.
    matklad committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    63080b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2019

  1. Uplift get_def_path from Clippy

    This uplifts `get_def_path` from Clippy. This is a follow up on the
    implementation of internal lints: rust-lang#59316
    
    The internal lint implementation also copied the implementation of the
    `AbsolutePathPrinter`. To get rid of this code duplication this also
    uplifts the `get_def_path` function from Clippy.
    
    This also renames `match_path` to `match_def_path`, as it was originally
    named in Clippy.
    flip1995 committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    a2d4e85 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2019

  1. compiletest: Improve no_prefer_dynamic docs

    This adds some extra docs for the `no-prefer-dynamic` header.
    
    And also a `s/must_compile_successfully/compile_pass`.
    
    `must_compile_successfully` has been renamed to `compile_pass` at some
    point in the past and this comment was still referring to the old name.
    phansch committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    edebed9 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Configuration menu
    Copy the full SHA
    3262d1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6fd57a View commit details
    Browse the repository at this point in the history
  3. Fix links on keyword docs.

    - Make links relative.
    - Adjust links from old 2018-edition book.
    - Fix broken link in `let` docs.
    ehuss committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    1ad46cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3e01901 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2019

  1. Configuration menu
    Copy the full SHA
    2f97552 View commit details
    Browse the repository at this point in the history
  2. std::ops::Div examples: correct nominator to numerator

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    3826493 View commit details
    Browse the repository at this point in the history
  3. Update ui test

    tesuji committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    404df31 View commit details
    Browse the repository at this point in the history
  4. Updated the documentation, now claiming the -Z is associated to unsta…

    …ble compiler flags, instead of flags for debugging.
    Christian committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    7acfa45 View commit details
    Browse the repository at this point in the history
  5. Updated the description of -Z in the rustc book.

    Christian committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    cdeb745 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2019

  1. Rollup merge of rust-lang#59680 - DevQps:document-rustc-z-flag, r=cra…

    …mertj
    
    Document the -Z flag to the rustc book
    
    # Description
    
    Changes:
    - Added new documentation on the `-Z` flag of rustc in the command-line arguments section of the rustc book.
    
    If I need to rephrase anything or if you have any improvements, please let me know! I deliberately did not create an exhaustive list of all options since they are likely to change over time and per toolchain version.
    
    closes rust-lang#41142
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    632b11c View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#59735 - matklad:deadcode, r=sanxiyn

    remove lookup_char_pos_adj
    
    It is now exactly equivalent to lookup_char_pos.
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    4afd711 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#59779 - flip1995:uplift_get_def_path, r=Man…

    …ishearth
    
    Uplift `get_def_path` from Clippy
    
    cc rust-lang/rust-clippy#3926
    cc rust-lang#59738
    
    This uplifts `get_def_path` from Clippy. This is a follow up on the
    implementation of internal lints: rust-lang#59316
    
    The internal lint implementation also copied the implementation of the
    `AbsolutePathPrinter`. To get rid of this code duplication this also
    uplifts the `get_def_path` function from Clippy.
    
    This also renames `match_path` to `match_def_path`, as it was originally
    named in Clippy.
    
    r? @Manishearth
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    d7fe9cf View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#59806 - phansch:compiletest_docs2, r=oli-obk

    compiletest: Improve no_prefer_dynamic docs
    
    This adds some extra docs for the `no-prefer-dynamic` header.
    
    And also a `s/must_compile_successfully/compile_pass`.
    
    `must_compile_successfully` has been renamed to `compile_pass` at some
    point in the past and this comment was still referring to the old name.
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    be4b820 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#59811 - vext01:dead-dominator-code, r=oli-obk

    Kill dead code dominator code.
    
    Hi,
    
    Whilst fiddling around in the dominator code, I found some (I think) unused code. This code *was* used at the time it was imported, but over time it seems to have become redundant.
    
    I've tested a build up to stage 1 with no problems. Maybe the tests will turn up something though.
    
    P.S.
    
    There is a FIXME comment in `dominators/mod.rs`:
    ```
        pub fn is_dominated_by(&self, node: Node, dom: Node) -> bool {
            // FIXME -- could be optimized by using post-order-rank
            self.dominators(node).any(|n| n == dom)
        }
    ```
    
    I'm not sure of the intention of this comment. The `Dominators` struct already operates over post-order rank nodes. Any ideas?
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    e6ac17b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#59814 - ollie27:dead_boxed_links, r=QuietMi…

    …sdreavus
    
    Fix broken links on std::boxed doc page
    
    r? @QuietMisdreavus
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    a05adad View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#59830 - ehuss:keyword-links, r=Mark-Simulacrum

    Fix links on keyword docs.
    
    - Make links relative.
    - Adjust links from old 2018-edition book.
    - Fix broken link in `let` docs.
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    05e00c4 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#59831 - ehuss:ordering-docs, r=kennytm

    Remove strange formatting in `Ordering` docs.
    
    I can't really fathom what the intent of the brackets is. The [original PR](rust-lang#12956) doesn't give any hints. I think it seems fine without them.
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    8e79a95 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#59835 - lzutao:nonzero-signed, r=Mark-Simul…

    …acrum
    
    Re-export NonZero signed variant in std
    
    cc  rust-lang#59834
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    da1748b View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#59836 - andersk:nominator, r=Centril

    std::ops::Div examples: correct nominator to numerator
    sanxiyn authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    83787bb View commit details
    Browse the repository at this point in the history