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 6 pull requests #101326

Closed
wants to merge 13 commits into from

Commits on Aug 6, 2022

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

Commits on Aug 28, 2022

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

Commits on Aug 29, 2022

  1. Try normalizing types without RevealAll in ParamEnv in mir validation

    Before, the MIR validator used RevealAll in its ParamEnv for type
    checking. This could cause false negatives in some cases due to
    RevealAll ParamEnvs not always use all predicates as expected here.
    
    Since some MIR passes like inlining use RevealAll as well, keep using
    it in the MIR validator too, but when it fails usign RevealAll, also
    try the check without it, to stop false negatives.
    Noratrieb committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    81a583c View commit details
    Browse the repository at this point in the history
  2. Only normalize once in mir validator typechecker

    Before, it called `normalize_erasing_regions` twice since
    `equal_up_to_regions` called it as well for both types.
    Noratrieb committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    96d4137 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2022

  1. Use FILE_ATTRIBUTE_TAG_INFO to get reparse tag

    This avoid unnecessarily getting the full reparse data when all we need is the tag.
    ChrisDenton committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    630f831 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e82200 View commit details
    Browse the repository at this point in the history
  3. Also replace the version placeholder in rustc_attr

    This fixes rustdoc not showing the current version as stabilization version
    for recently stabilized lang features.
    est31 committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    0c4ec5d View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Rollup merge of rust-lang#100101 - BelovDV:issue-99429, r=petrochenkov

    change rlib format to distinguish native dependencies
    
    Another one method to solve problem mentioned in rust-lang#99429.
    
    Changed .rlib format, it contains all bundled native libraries as archieves.
    At link time rlib is unpacked and native dependencies linked separately.
    New behavior hidden under separate_native_rlib_dependencies flag.
    matthiaskrgr authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    6bb93a4 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#100121 - Nilstrieb:mir-validator-param-env,…

    … r=oli-obk
    
    Try normalizing types without RevealAll in ParamEnv in MIR validation
    
    Before, the MIR validator used RevealAll in its ParamEnv for type
    checking. This could cause false negatives in some cases due to
    RevealAll ParamEnvs not always use all predicates as expected here.
    
    Since some MIR passes like inlining use RevealAll as well, keep using
    it in the MIR validator too, but when it fails usign RevealAll, also
    try the check without it, to stop false negatives.
    
    Fixes rust-lang#99866
    
    cc `````@compiler-errors````` who nicely helped me on zulip
    matthiaskrgr authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    e5b9ec8 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#100200 - petrochenkov:zgccld2, r=lqd,Mark-S…

    …imulacrum
    
    Change implementation of `-Z gcc-ld` and `lld-wrapper` again
    
    This PR partially reverts rust-lang#97375 and uses the strategy described in rust-lang#97402 (comment) instead, thus fixes rust-lang#97755.
    matthiaskrgr authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    9ec4dc6 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#100814 - gabrielBusta:port_trait_selection_…

    …diagnostics, r=davidtwco
    
     Porting 'compiler/rustc_trait_selection' to translatable diagnostics - Part 1
    
    `@rustbot` label +A-translation
    
    r? rust-lang/diagnostics
    cc rust-lang#100717
    matthiaskrgr authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    2988a7b View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#101215 - est31:rustdoc_version_placeholder,…

    … r=Mark-Simulacrum
    
    Also replace the version placeholder in rustc_attr
    
    Replace the version placeholder with the current version in the rustc_attr crate too so that users won't see the placeholder but instead the explicit version. This especially fixes the bug for rustdoc not showing it but instead the placeholder.
    
    Originally reported [here](https://rust-lang.zulipchat.com/#narrow/stream/241545-t-release/topic/libs.20stabilization.20placeholder/near/296057188).
    
    cc rust-lang#100591
    
    ![Screenshot_20220830_233727](https://user-images.githubusercontent.com/8872119/187548079-6207776b-4481-4351-afff-607f5b3fe03a.png)
    matthiaskrgr authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    311a1e9 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#101260 - ChrisDenton:attribute-tag, r=thomcc

    Use `FILE_ATTRIBUTE_TAG_INFO` to get reparse tag
    
    I've been looking at this code recently and it just occurred to me we don't actually use the full reparse data at this point, only the tag. [`GetFileInformationByHandleEx`](https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getfileinformationbyhandleex) can do exactly that by filling a [`FILE_ATTRIBUTE_TAG_INFO`](https://docs.microsoft.com/en-us/windows/win32/api/winbase/ns-winbase-file_attribute_tag_info) struct.
    
    r? ````@thomcc```` since you've made changes here recently (which is why I have this code on my mind atm)
    matthiaskrgr authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    6fae4fa View commit details
    Browse the repository at this point in the history