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

Merged
merged 18 commits into from
Mar 3, 2023
Merged

Rollup of 7 pull requests #108707

merged 18 commits into from
Mar 3, 2023

Commits on Feb 28, 2023

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

Commits on Mar 1, 2023

  1. Remove pass initialization code

    This is no longer necessary with the new pass manager.
    nikic committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    45f694d View commit details
    Browse the repository at this point in the history
  2. Print NewPM passes

    -C passes=list was printing passes for the legacy pass manager.
    Use PassBuilder::printPassNames() to print NewPM passes instead.
    nikic committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    655a810 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    4b01a1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23d4757 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Configuration menu
    Copy the full SHA
    ff2c609 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6df5ae4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef65890 View commit details
    Browse the repository at this point in the history
  4. Rustdoc-ify LiteralKind note

    est31 committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    5a02105 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c54f061 View commit details
    Browse the repository at this point in the history
  6. canonicalization

    lcnr committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    a15abea View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#107981 - lcnr:canonicalization-uwu, r=compi…

    …ler-errors
    
    new solver: implement canonicalization and region constraints
    
    see the corresponding rustc-dev-guide chapter: https://rustc-dev-guide.rust-lang.org/solve/canonicalization.html
    
    r? ``@compiler-errors``
    matthiaskrgr authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    4f49352 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#108553 - compiler-errors:non-lt-late-bound-…

    …in-anon-ct, r=petrochenkov
    
    Deny capturing late-bound non-lifetime param in anon const
    
    Introduce a new AnonConstBoundary so we can detect when we capture a late-bound non-lifetime param with `non_lifetime_binders` enabled.
    
    In the future, we could technically do something like introduce an early-bound parameter on the anon const, and stick the late-bound param in its substs (kinda like how we turn late-bound lifetimes in opaques into early-bound ones). But for now, just deny it so we don't ICE.
    
    Fixes rust-lang#108191
    matthiaskrgr authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    44e794f View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#108599 - nikic:drop-init, r=cuviper

    Remove legacy PM leftovers
    
    This drops two leftovers of legacy PM usage:
     * We don't need to initialize passes anymore.
     * The pass listing was still using legacy PM passes. Replace it with the corresponding new PM listing.
    matthiaskrgr authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    1fab0fc View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#108667 - compiler-errors:issue-108664, r=es…

    …tebank
    
    Fix another ICE in `point_at_expr_source_of_inferred_type`
    
    Types coming from method probes must only be investigated *structurally*, since they often contain escaping infer variables from generalization and autoderef. We already have a hack in this PR that erases variables from types, so just use that.
    
    Fixes rust-lang#108664
    
    The note attached to this error is pretty bad:
    
    ```
    here the type of `primes` is inferred to be `[_]`
    ```
    
    But that's unrelated to the PR.
    
    ---
    
    Side-note: This is a pretty easy to trigger beta regression, so I've nominated it. Alternatively, I'm slightly inclined to remove this code altogether until it can be reformulated to be more accurate and less ICEy.
    matthiaskrgr authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    db4b3dd View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#108674 - flip1995:clippy_backport, r=Manish…

    …earth
    
    Clippy Fix array-size-threshold config deserialization error
    
    Complementary PR to rust-lang#108673 in order to also get this into the **next** beta.
    
    r? ``@Mark-Simulacrum``
    matthiaskrgr authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    f9b122a View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#108685 - est31:backticks_matchmaking, r=pet…

    …rochenkov
    
    Match unmatched backticks in compiler/
    
    Found with GNU grep:
    ```
    grep -rEn '^(([^`]*`){2})*[^`]*`[^`]*$' compiler/ | rg -v '\s*[//]?.{1,2}```'
    ```
    matthiaskrgr authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    846424d View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#108694 - est31:backticks_matchmaking_commen…

    …ts, r=Nilstrieb
    
    Match unmatched backticks in compiler/ comments
    
    r? ``@Nilstrieb`` as per [advice](rust-lang#108685 (comment))
    matthiaskrgr authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    01fc5a7 View commit details
    Browse the repository at this point in the history