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 #76502

Merged
merged 21 commits into from
Sep 9, 2020
Merged

Rollup of 10 pull requests #76502

merged 21 commits into from
Sep 9, 2020

Commits on Sep 5, 2020

  1. Configuration menu
    Copy the full SHA
    08e3515 View commit details
    Browse the repository at this point in the history
  2. Improve ayu doc source line number contrast

    Improve contrast of foreground line number.
    pickfire authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    d80415a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4fff14d View commit details
    Browse the repository at this point in the history
  4. Fix HashMap visualizers in Visual Studio (Code)

    CDB doesn't care that you're using static_cast between unrelated types.
    VS(C) does.  These should've been reinterpret_cast or C casts.
    Cast is from e.g. `u8*` to `tuple<$T1, $T2>*`
    MaulingMonkey committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    5acd272 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2020

  1. Configuration menu
    Copy the full SHA
    b92b0d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e14033 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    84fc6fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2e82589 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2020

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

Commits on Sep 8, 2020

  1. Make duration_since documentation more clear

    Alexander Brausch committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    98231bf View commit details
    Browse the repository at this point in the history
  2. Update cargo

    ehuss committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    8b2106f View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#76162 - abrausch:documentation-fix-duration…

    …_since, r=jyn514
    
    Make duration_since documentation more clear
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    87302a2 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#76355 - calebcartwright:reduce-rustfmt-visi…

    …bility, r=nikomatsakis
    
    remove public visibility previously needed for rustfmt
    
    `submod_path_from_attr` in rustc_expand::module was previously public because it was also consumed by rustfmt. However, we've done a bit of refactoring in rustfmt and no longer need to use this function.
    
    This changes the visibility to the parent mod as was originally going to be done before the rustfmt dependency was realized (rust-lang@c189565#diff-cd1b379893bae95f7991d5a3f3c6d337R201)
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    4ac88c0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#76374 - pickfire:patch-4, r=Cldfire

    Improve ayu doc source line number contrast
    
    Improve contrast of foreground line number.
    
    Before
    
    ![image](https://user-images.githubusercontent.com/4687791/92305696-1bf2ab80-efbc-11ea-8b5c-a24c4f6261e0.png)
    
    After
    
    ![image](https://user-images.githubusercontent.com/4687791/92305700-2a40c780-efbc-11ea-9061-dbfcb1e71980.png)
    
    r? @Cldfire
    
    I think we should add the line for light and dark theme too, it looks better and clearer that way.
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    3cec71e View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#76379 - petrochenkov:nodegen, r=Mark-Simula…

    …crum
    
    rustbuild: Remove `Mode::Codegen`
    
    It's no longer used.
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    b2ca513 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#76389 - MaulingMonkey:pr-natvis-hashmap-vsc…

    …, r=petrochenkov
    
    Fix HashMap visualizers in Visual Studio (Code)
    
    CDB (as used in unit tests) doesn't care that we're using static_cast between unrelated types (`u8*` to `tuple<$T1, $T2>*`).
    Visual Studio & Visual Studio Code care.  These should've been reinterpret_cast or C casts.
    
    Credit to @petrochenkov per rust-lang#76352 for helping catch this.
    
    ### Testing
    
    ```cmd
    x.py test --stage 1 src/tools/tidy
    x.py test --stage 1 --build x86_64-pc-windows-msvc src\test\debuginfo
    ```
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    222b885 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#76396 - dylni:fix-typo-in-tracking-issue-te…

    …mplate, r=jonas-schievink
    
    Fix typo in tracking issue template
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    d45faff View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#76401 - JulianKnodt:i68366, r=lcnr

    Add help note to unconstrained const parameter
    
    Resolves rust-lang#68366, since it is currently intended behaviour.
    If demonstrating `T -> U` is injective, there should be an additional word that it is not **yet** supported.
    
    r? @lcnr
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    1083833 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#76402 - elichai:patch-2, r=wesleywiser

    Update linker-plugin-lto.md to contain up to rust 1.46
    
    Hi,
    this is the same as rust-lang#72290, if anyone has suggestions on how to automate this please say :)
    otherwise, you can check the versions I've added via:
    
    ```sh
    $ rustup install 1.44.0
    $ rustc +1.44.0 -Vv
    rustc 1.44.0 (49cae55 2020-06-01)
    binary: rustc
    commit-hash: 49cae55
    commit-date: 2020-06-01
    host: x86_64-unknown-linux-gnu
    release: 1.44.0
    LLVM version: 9.0
    
    $ rustup install 1.45.0
    $ rustc +1.45.0 -Vv
    rustc 1.45.0 (5c1f21c 2020-07-13)
    binary: rustc
    commit-hash: 5c1f21c
    commit-date: 2020-07-13
    host: x86_64-unknown-linux-gnu
    release: 1.45.0
    LLVM version: 10.0
    
    $ rustup install 1.46.0
    $ rustc +stable -Vv
    rustc 1.46.0 (04488af 2020-08-24)
    binary: rustc
    commit-hash: 04488af
    commit-date: 2020-08-24
    host: x86_64-unknown-linux-gnu
    release: 1.46.0
    LLVM version: 10.0
    ```
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    1aef86c View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#76403 - scileo:doc-all-impls, r=lcnr

    Fix documentation for TyCtxt::all_impls
    
    `TyCtxt::all_impls` documentation was wrong about the return type.
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    1270734 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#76498 - ehuss:update-cargo, r=ehuss

    Update cargo
    
    8 commits in 126907a7cfccbe93778530e6a6bbaa3adb6c515c..875e0123259b0b6299903fe4aea0a12ecde9324f
    2020-08-31 20:42:11 +0000 to 2020-09-08 20:17:21 +0000
    - Lowercase and remove periods in error messages for consistency (rust-lang/cargo#8655)
    - Allow running build-man.sh from any directory (rust-lang/cargo#8682)
    - docs: add details for cargo check pass where cargo build fail (rust-lang/cargo#8677)
    - Fix nightly exported_priv_warning test. (rust-lang/cargo#8678)
    - fix mdbook test with ```ignore/text/sh/console (rust-lang/cargo#8674)
    - End CACHEDIR.TAG with newline (rust-lang/cargo#8672)
    - Fixed the fossil repo initialization actually run commands (rust-lang/cargo#8671)
    - Remove asciidoc attribute in cargo-metadata man page. (rust-lang/cargo#8670)
    Dylan-DPC authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    389321a View commit details
    Browse the repository at this point in the history