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 7 pull requests #100330

Closed
wants to merge 20 commits into from
Closed

Commits on Aug 2, 2022

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

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    9cf5709 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4df6cbe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a3fd50 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    603ffeb View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2022

  1. Remove duplicated temporaries creating during box derefs elaboration

    Temporaries created with `MirPatch::new_temp` will be declared after
    patch application. Remove manually created duplicate declarations.
    
    Removing duplicates exposes another issue. Visitor elaborates
    terminator twice and attempts to access new, but not yet available,
    local declarations. Remove duplicated call to `visit_terminator`.
    tmiasko committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    18a21e1 View commit details
    Browse the repository at this point in the history
  2. ./x.py test --bless

    tmiasko committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    7d2131a View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

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

Commits on Aug 8, 2022

  1. Configuration menu
    Copy the full SHA
    bed8e93 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    daa0e8f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fb8636f View commit details
    Browse the repository at this point in the history
  4. Add test for rust-lang#100246.

    luqmana committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    75cc9cd View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Rollup merge of rust-lang#100040 - ChrisDenton:broken-pipe, r=davidtwco

    Error on broken pipe but do not backtrace or ICE
    
    Windows will report a broken pipe as a normal error which in turn `println!` will panic on. Currently this causes rustc to produce a backtrace and ICE. However, this is not a bug with rustc so a backtrace is overly verbose and ultimately unhelpful to the user.
    
    Kind of fixes rust-lang#98700. Although this is admittedly a bit of a hack because at panic time all we have is a string to inspect. On zulip it was suggested that libstd might someday provide a way to indicate a soft panic but that day isn't today.
    Dylan-DPC authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    507b299 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#100086 - JakobDegen:better-tests, r=wesleyw…

    …iser
    
    Add more `// unit-test`s to MIR opt tests
    
    I only changed things which are hopefully completely uninteresting. I plan to submit more PRs that cover more files, but those cases will need some more complicated (and hence possibly controversial) changes, so I'll try and submit those in reasonably sized batches.
    
    r? rust-lang/wg-mir-opt
    Dylan-DPC authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    5ca5f02 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#100098 - compiler-errors:field-suggestion-f…

    …ixups, r=davidtwco
    
    Some "this expression has a field"-related fixes
    
    Each commit does something different and is worth reviewing, but the final diff from `master..HEAD` contains the sum of the changes to the UI tests, since some commits added UI tests "regressions" which were later removed in other commits.
    
    The only change I could see adding on top of this is suppressing `Clone::clone` from the "this expression has a field that has this method" suggestion, since it's so commonly implemented by types that it's not worthwhile suggesting in general.
    Dylan-DPC authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    2adcb4c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#100192 - tmiasko:rm-duplicated-locals, r=na…

    …gisa
    
     Remove duplicated temporaries creating during box derefs elaboration
    
    Temporaries created with `MirPatch::new_temp` will be declared after
    patch application. Remove manually created duplicate declarations.
    
    Removing duplicates exposes another issue. Visitor elaborates
    terminator twice and attempts to access new, but not yet available,
    local declarations. Remove duplicated call to `visit_terminator`.
    
    Extracted from rust-lang#99946.
    Dylan-DPC authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    0888432 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#100226 - cjgillot:noice-multibyte, r=davidtwco

    Do not manually craft a span pointing inside a multibyte character.
    
    Fixes rust-lang#92462
    Dylan-DPC authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    be071ec View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#100261 - luqmana:suggestions-overflow, r=lcnr

    Set tainted errors bit before emitting coerce suggestions.
    
    Fixes rust-lang#100246.
    
    rust-lang#89576 basically got 99% of the way there but the match typechecking code (which calls `coerce_inner`) also needed a similar fix.
    Dylan-DPC authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    e606861 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#100319 - GuillaumeGomez:rm-clean-impls-2, r…

    …=Dylan-DPC
    
    Remove more Clean trait implementations
    
    Follow-up of rust-lang#99638.
    
    r? `@Dylan-DPC`
    Dylan-DPC authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    6109582 View commit details
    Browse the repository at this point in the history