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

Merged
merged 14 commits into from
Dec 15, 2021
Merged

Rollup of 7 pull requests #91962

merged 14 commits into from
Dec 15, 2021

Commits on Dec 14, 2021

  1. Configuration menu
    Copy the full SHA
    97e844a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0c0732 View commit details
    Browse the repository at this point in the history
  3. Fix a bunch of typos

    steffahn committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    a957cef View commit details
    Browse the repository at this point in the history
  4. Constify bool::then{,_some}

    fee1-dead committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    4f4b2c7 View commit details
    Browse the repository at this point in the history
  5. Use tcx.def_path_hash in ExistentialPredicate.stable_cmp

    This avoids a needless query invocation
    Aaron1011 committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    4d1d66b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f29fb47 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. Remove in_band_lifetimes from rustc_codegen_ssa

    See rust-lang#91867 for more information.
    LegionMammal978 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    eaf39cb View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#91880 - matthiaskrgr:clippy_perf_dec, r=jyn514

    fix clippy::single_char_pattern perf findings
    matthiaskrgr authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    9ca0bd5 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#91885 - LegionMammal978:less-inband-codegen…

    …_ssa, r=workingjubilee
    
    Remove `in_band_lifetimes` from `rustc_codegen_ssa`
    
    See rust-lang#91867 for more information.
    
    In `compiler/rustc_codegen_ssa/src/coverageinfo/map.rs`, there are several functions with an explicit `'a` lifetime but only a single `&'a self` parameter. These lifetimes should be redundant given lifetime elision, unless the existential `impl Iterator` has weird issues regarding that. Should the redundant lifetimes be removed?
    matthiaskrgr authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    700670f View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#91898 - compiler-errors:dont_suggest_closur…

    …e_return_type, r=lcnr
    
    Make `TyS::is_suggestable` check for non-suggestable types structually
    
    Not sure if I went overboard checking substs in dyn types, etc. Let me know if I should simplify this function.
    
    Fixes rust-lang#91832
    matthiaskrgr authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    b507174 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#91915 - jackh726:issue-91899, r=Mark-Simula…

    …crum
    
    Add another regression test for unnormalized fn args with Self
    
    Closes rust-lang#91899
    matthiaskrgr authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    05b65ad View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#91916 - steffahn:fix-typos, r=dtolnay

    Fix a bunch of typos
    
    I hope that none of these files is not supposed to be modified.
    
    FYI, I opened separate PRs for typos in submodules, in the respective repositories
    * rust-lang/stdarch#1267
    * rust-lang/backtrace-rs#455
    matthiaskrgr authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    99f4458 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#91918 - fee1-dead:constification0-the-great…

    …-constification-begins, r=oli-obk
    
    Constify `bool::then{,_some}`
    
    Note on `~const Drop`: it has no effect when called from runtime functions, when called from const contexts, the trait system ensures that the type can be dropped in const contexts.
    matthiaskrgr authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    13fb051 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#91920 - Aaron1011:pred-stable-cmp, r=oli-obk

    Use `tcx.def_path_hash` in `ExistentialPredicate.stable_cmp`
    
    This avoids a needless query invocation
    matthiaskrgr authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    990cf5b View commit details
    Browse the repository at this point in the history