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

Closed
wants to merge 25 commits into from

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    e8ad387 View commit details
    Browse the repository at this point in the history
  2. When parsing patterns, bubble all errors except reserved idents that …

    …aren't likely to appear in for head or match arm
    estebank committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    9cd0521 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    128cca3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aa7074c View commit details
    Browse the repository at this point in the history
  5. Change enum parse recovery

    estebank committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    d6b6f5d View commit details
    Browse the repository at this point in the history
  6. Account for (pat if expr) => {}

    When encountering match arm (pat if expr) => {}, recover and suggest removing parentheses. Fix rust-lang#100825.
    estebank committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    1a61ee7 View commit details
    Browse the repository at this point in the history
  7. Change how for (x in foo) {} is handled

    Use the same approach used for match arm patterns.
    estebank committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    0bc1aee View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7fd6256 View commit details
    Browse the repository at this point in the history
  9. Fix tidy

    estebank committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    48576ce View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9ae5b7c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    22fc51f View commit details
    Browse the repository at this point in the history
  12. let-chain fmt

    estebank committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    b4b5981 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

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

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    a356464 View commit details
    Browse the repository at this point in the history
  2. Add more

    compiler-errors committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    ecccf33 View commit details
    Browse the repository at this point in the history
  3. Print list of missing target features when calling a function with ta…

    …rget features outside an unsafe block
    eduardosm committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    51ba662 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    e0bfb61 View commit details
    Browse the repository at this point in the history
  2. thir-unsafeck: print list of missing target features when calling a f…

    …unction with target features outside an unsafe block
    eduardosm committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    6b066a9 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Configuration menu
    Copy the full SHA
    a3838c8 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#117565 - estebank:issue-100825, r=Nilstrieb

    Tweak parsing recovery of enums, for exprs and match arm patterns
    
    Tweak recovery of `for (pat in expr) {}` for more accurate spans.
    
    When encountering `match` arm `(pat if expr) => {}`, recover and suggest removing parentheses. Fix rust-lang#100825.
    
    When encountering malformed enums, try more localized per-variant parse recovery.
    
    Move parser recovery tests to subdirectory.
    matthiaskrgr authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    a76582e View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#117912 - GeorgeWort:master, r=petrochenkov

    Name explicit registers in conflict register errors for inline assembly
    matthiaskrgr authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    97dfcc6 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#118157 - Nadrieril:never_pat-feature-gate, …

    …r=compiler-errors
    
    Add `never_patterns` feature gate
    
    This PR adds the feature gate and most basic parsing for the experimental `never_patterns` feature. See the tracking issue (rust-lang#118155) for details on the experiment.
    
    `@scottmcm` has agreed to be my lang-team liaison for this experiment.
    matthiaskrgr authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    da1f9d4 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#118231 - RalfJung:const-raw-slice-empty, r=…

    …cuviper
    
    also add is_empty to const raw slices
    
    We have this on mutable raw slices but not const raw slices, which makes little sense.
    
    Cc rust-lang#71146
    matthiaskrgr authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    f0d9e4f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#118268 - compiler-errors:pretty-print, r=es…

    …tebank
    
    Pretty print `Fn<(..., ...)>` trait refs with parentheses (almost) always
    
    It's almost always better, at least in diagnostics, to print `Fn(i32, u32)` instead of `Fn<(i32, u32)>`.
    
    Related to but doesn't fix rust-lang#118225. That needs a separate fix.
    matthiaskrgr authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    d538d16 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#118333 - eduardosm:print-missing-target-fea…

    …tures, r=est31
    
    Print list of missing target features when calling a function with target features outside an unsafe block
    
    Fixes rust-lang#108680
    
    Supersedes rust-lang#109710. I used the same wording for the messages, but the implementation is different.
    
    r? `@est31`
    matthiaskrgr authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    3cd61b2 View commit details
    Browse the repository at this point in the history