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 8 pull requests #117308

Closed
wants to merge 49 commits into from

Commits on Oct 8, 2023

  1. Remove -Zdep-tasks.

    cjgillot committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    e960d0e View commit details
    Browse the repository at this point in the history
  2. Remove useless debugging.

    cjgillot committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    8531ebf View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Bump stdarch submodule

    eduardosm committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    89f9da2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b57a157 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    337af7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    35e2f4e View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. make E0277 use short paths

    add note
    
    change wording
    
    short_ty_string on t
    Milo123459 committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    991bf75 View commit details
    Browse the repository at this point in the history
  2. 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
  3. Configuration menu
    Copy the full SHA
    2d0a34b View commit details
    Browse the repository at this point in the history
  4. 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
  5. Configuration menu
    Copy the full SHA
    9b3f5e1 View commit details
    Browse the repository at this point in the history
  6. 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
  7. Configuration menu
    Copy the full SHA
    f005d23 View commit details
    Browse the repository at this point in the history
  8. 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
  9. 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
  10. Configuration menu
    Copy the full SHA
    9d61e6a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5caee41 View commit details
    Browse the repository at this point in the history
  12. 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
  13. 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
  14. 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
  15. Configuration menu
    Copy the full SHA
    19c36a9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    de82551 View commit details
    Browse the repository at this point in the history
  17. 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
  18. 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
  19. Configuration menu
    Copy the full SHA
    2532566 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    f7acf17 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    1b9cb5d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    773dc62 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    bb69597 View commit details
    Browse the repository at this point in the history
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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 26, 2023

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

Commits on Oct 27, 2023

  1. Configuration menu
    Copy the full SHA
    b7debe3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84a1a68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ef5897 View commit details
    Browse the repository at this point in the history
  4. When encountering sealed traits, point types that implement it

    ```
    error[E0277]: the trait bound `S: d::Hidden` is not satisfied
      --> $DIR/sealed-trait-local.rs:53:20
       |
    LL | impl c::Sealed for S {}
       |                    ^ the trait `d::Hidden` is not implemented for `S`
       |
    note: required by a bound in `c::Sealed`
      --> $DIR/sealed-trait-local.rs:17:23
       |
    LL |     pub trait Sealed: self::d::Hidden {
       |                       ^^^^^^^^^^^^^^^ required by this bound in `Sealed`
       = note: `Sealed` is a "sealed trait", because to implement it you also need to implement `c::d::Hidden`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
       = help: the following types implement the trait:
                - c::X
                - c::Y
    ```
    
    The last `help` is new.
    estebank committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6dbad23 View commit details
    Browse the repository at this point in the history
  5. Update type_err_ctxt_ext.rs

    Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
    Milo123459 and estebank authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    a65d99d View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Rollup merge of rust-lang#116534 - cjgillot:no-dep-tasks, r=davidtwco

    Remove -Zdep-tasks.
    
    This option is not useful any more, we can use `tracing` and `RUSTC_LOG` to debug the dep-graph.
    matthiaskrgr authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    d265b2a View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#116609 - eduardosm:bump-stdarch, r=workingj…

    …ubilee
    
    Bump stdarch submodule and remove special handling for LLVM intrinsics that are no longer needed
    
    Bumps stdarch to pull rust-lang/stdarch#1477, which reimplemented some functions with portable SIMD intrinsics instead of arch specific LLVM intrinsics.
    
    Handling of those LLVM intrinsics is removed from cranelift codegen and miri.
    
    cc `@RalfJung` `@bjorn3`
    matthiaskrgr authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    d9ce918 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#116739 - Milo123459:milo/short-paths, r=est…

    …ebank
    
    Make `E0277` use short paths
    
    Fixes rust-lang#116616
    matthiaskrgr authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    d03d191 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#116945 - estebank:sealed-trait-impls, r=pet…

    …rochenkov
    
    When encountering sealed traits, point types that implement it
    
    ```
    error[E0277]: the trait bound `S: d::Hidden` is not satisfied
      --> $DIR/sealed-trait-local.rs:53:20
       |
    LL | impl c::Sealed for S {}
       |                    ^ the trait `d::Hidden` is not implemented for `S`
       |
    note: required by a bound in `c::Sealed`
      --> $DIR/sealed-trait-local.rs:17:23
       |
    LL |     pub trait Sealed: self::d::Hidden {
       |                       ^^^^^^^^^^^^^^^ required by this bound in `Sealed`
       = note: `Sealed` is a "sealed trait", because to implement it you also need to implement `c::d::Hidden`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
       = help: the following types implement the trait:
                - c::X
                - c::Y
    ```
    
    The last `help` is new.
    matthiaskrgr authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    b9b21c1 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#117025 - Urgau:cleanup-improve-check-cfg-im…

    …pl, r=petrochenkov
    
    Cleanup and improve `--check-cfg` implementation
    
    This PR removes some indentation in the code, as well as preventing some bugs/misusages and fix a nit in the doc.
    
    r? ``@petrochenkov`` (maybe)
    matthiaskrgr authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    d1379a4 View commit details
    Browse the repository at this point in the history
  6. 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 authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    5666aaf View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#117256 - dtolnay:currentversion, r=compiler…

    …-errors
    
    Parse rustc version at compile time
    
    This PR eliminates a couple awkward codepaths where it was not clear how the compiler should proceed if its own version number is incomprehensible.
    
    https://github.com/rust-lang/rust/blob/dab715641e96a61a534587fda9de1128b75b34dc/src/tools/clippy/clippy_utils/src/qualify_min_const_fn.rs#L385
    
    https://github.com/rust-lang/rust/blob/dab715641e96a61a534587fda9de1128b75b34dc/compiler/rustc_attr/src/builtin.rs#L630
    
    We can guarantee that every compiled rustc comes with a working version number, so the ICE codepaths above shouldn't need to be written.
    matthiaskrgr authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    7e3f63e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#117277 - RalfJung:too-big-with-padding, r=o…

    …li-obk
    
    fix failure to detect a too-big-type after adding padding
    
    Fixes rust-lang#117265
    matthiaskrgr authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    b0c996a View commit details
    Browse the repository at this point in the history