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 5 pull requests #117481

Closed
wants to merge 37 commits into from

Commits on Oct 13, 2023

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

Commits on Oct 25, 2023

  1. FileCheck asm_unwind

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    62fe807 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d0a34b View commit details
    Browse the repository at this point in the history
  3. FileCheck cycle

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    2f9aa7d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b3f5e1 View commit details
    Browse the repository at this point in the history
  5. FileCheck dyn_trait

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    76faae9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f005d23 View commit details
    Browse the repository at this point in the history
  7. FileCheck inline_any_operand

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    22679cd View commit details
    Browse the repository at this point in the history
  8. FileCheck inline_box_fn

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    de56d2d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9d61e6a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5caee41 View commit details
    Browse the repository at this point in the history
  11. FileCheck inline_closure

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    7ee05d2 View commit details
    Browse the repository at this point in the history
  12. FileCheck inline_diverging

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    d8f33ef View commit details
    Browse the repository at this point in the history
  13. FileCheck inline_coroutine

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    20e7caa View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    19c36a9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    de82551 View commit details
    Browse the repository at this point in the history
  16. FileCheck inline_options

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    3202d4e View commit details
    Browse the repository at this point in the history
  17. FileCheck inline_retag

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    21a4c39 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    2532566 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f7acf17 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    1b9cb5d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    773dc62 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    bb69597 View commit details
    Browse the repository at this point in the history
  23. FileCheck issue_78442

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    5cf65eb View commit details
    Browse the repository at this point in the history
  24. FileCheck unchecked_shifts

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    6e047c0 View commit details
    Browse the repository at this point in the history
  25. FileCheck unsized_argument

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    3faf05b View commit details
    Browse the repository at this point in the history
  26. FileCheck unwrap_unchecked

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    6ab66c3 View commit details
    Browse the repository at this point in the history
  27. address review comments

    rmehri01 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    1ec10ec View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    8076414 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    147c4a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

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

Commits on Nov 1, 2023

  1. Inline and remove create_session.

    Currently the parts of session initialization that happen within
    `rustc_interface` are split between `run_compiler` and `create_session`.
    This split isn't necessary and obscures what's happening.
    
    This commit merges the two functions. I think a single longer function
    is much clearer than splitting this code across two functions in
    different modules, especially when `create_session` has 13 parameters,
    and is misnamed (it also creates the codegen backend). The net result is
    43 fewer lines of code.
    nnethercote committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    587af91 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#115626 - clarfonthey:unchecked-math, r=thomcc

    Clean up unchecked_math, separate out unchecked_shifts
    
    Tracking issue: rust-lang#85122
    
    Changes:
    
    1. Remove `const_inherent_unchecked_arith` flag and make const-stability flags the same as the method feature flags. Given the number of other unsafe const fns already stabilised, it makes sense to just stabilise these in const context when they're stabilised.
    2. Move `unchecked_shl` and `unchecked_shr` into a separate `unchecked_shifts` flag, since the semantics for them are unclear and they'll likely be stabilised separately as a result.
    3. Add an `unchecked_neg` method exclusively to signed integers, under the `unchecked_neg` flag. This is because it's a new API and probably needs some time to marinate before it's stabilised, and while it *would* make sense to have a similar version for unsigned integers since `checked_neg` also exists for those there is absolutely no case where that would be a good idea, IMQHO.
    
    The longer-term goal here is to prepare the `unchecked_math` methods for an FCP and stabilisation since they've existed for a while, their semantics are clear, and people seem in favour of stabilising them.
    matthiaskrgr committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    c0ed667 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#117029 - rmehri01:mir_opt_filecheck_inline_…

    …tests, r=cjgillot
    
    Add FileCheck annotations to MIR-opt inlining tests
    
    Part of rust-lang#116971, adds FileCheck annotations to MIR-opt tests in `tests/mir-opt/inline`.
    
    I left out a few (such as `inline_cycle`) where it mentioned that the particular outcome of inlining isn't important, just that the inliner doesn't get stuck in an infinite loop.
    
    r? cjgillot
    matthiaskrgr committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    765ac22 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#117397 - compiler-errors:dont-emit-good-pat…

    …h-on-panic, r=TaKO8Ki
    
    Don't emit delayed good-path bugs on panic
    
    This should fix rust-lang#117381, cc `@RalfJung`
    
    As opposed to delayed bugs, delayed *good path* bugs really don't make sense to show on panics.
    matthiaskrgr committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    d65fffc View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#117401 - chenyukang:yukang-cleanup-hir-type…

    …ck-suggestions, r=compiler-errors
    
    Refactor: move suggestion functions from demand to suggestions
    
    follow-up from
    rust-lang#116841 (comment)
    matthiaskrgr committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    63249fb View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#117475 - nnethercote:rm-create_session, r=o…

    …li-obk
    
    Inline and remove `create_session`.
    
    Currently the parts of session initialization that happen within `rustc_interface` are split between `run_compiler` and `create_session`. This split isn't necessary and obscures what's happening.
    
    This commit merges the two functions. I think a single longer function is much clearer than splitting this code across two functions in different modules, especially when `create_session` has 13 parameters, and is misnamed (it also creates the codegen backend). The net result is 43 fewer lines of code.
    
    r? `@oli-obk`
    matthiaskrgr committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    d46dcdf View commit details
    Browse the repository at this point in the history