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 9 pull requests #122312

Merged
merged 18 commits into from
Mar 11, 2024
Merged

Rollup of 9 pull requests #122312

merged 18 commits into from
Mar 11, 2024

Commits on Mar 10, 2024

  1. disable OOM test in Miri

    RalfJung committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1dd47e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93049be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c06f801 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aa9145e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7d99e80 View commit details
    Browse the repository at this point in the history
  6. diagnostics: Do not suggest using #[unix_sigpipe] without a value

    Remove `Word` from the `unix_sigpipe` attribute template so that plain
    `#[unix_sigpipe]` is not included in suggestions of valid forms of the
    attribute. Also re-arrange diagnostics code slightly to avoid duplicate
    diagnostics.
    Enselic committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ee428c5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    89ed992 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dd2cda7 View commit details
    Browse the repository at this point in the history
  9. fix metadata for dyn-star in new solver

    Lukas Markeffsky committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    e4bafa2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    217d004 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#122276 - RalfJung:io-read, r=Nilstrieb

    io::Read trait: make it more clear when we are adressing implementations vs callers
    
    Inspired by [this](rust-lang#72186 (comment)) comment.
    
    For some reason we only have that `buf` warning in `read` and `read_exact`, even though it affects a bunch of other functions of this trait as well. It doesn't seem worth copy-pasting the same text everywhere though so I did not change this.
    matthiaskrgr authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    0c73b2d View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#122277 - RalfJung:BorrowedCursor, r=cuviper

    BorrowedCursor docs clarification
    
    If one reads the `BorrowedCursor` docs without having seen `BorrowedBuf` before, it is quite easy to assume that "unfilled" and "uninit" are synonyms.
    matthiaskrgr authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ff09d32 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#122286 - RalfJung:resolve, r=compiler-errors

    use Instance::expect_resolve() instead of unwraping Instance::resolve()
    matthiaskrgr authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    b02f2a0 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#122290 - RalfJung:mir-printing, r=compiler-…

    …errors
    
    MIR printing: print the path of uneval'd const
    
    Currently it just prints `const _` which makes it impossible to say which constant is being referred to.
    
    Also refer to promoteds in a consistent way; previously MIR printing would do
    ```
    promoted[0] in C1: &Option<Cell<i32>> = {
        // ...
    }
    ```
    Now that should be
    ```
    const C1::promoted[0]: &Option<Cell<i32>> = {
        // ...
    }
    ```
    
    We don't seem to have a test for that so I tried it by hand, it seems to work:
    ```
    const main::promoted[12]: &[&str; 3] = {
        let mut _0: &[&str; 3];
        let mut _1: [&str; 3];
        let mut _2: &str;
        let mut _3: &str;
        let mut _4: &str;
        let mut _5: &str;
    
        bb0: {
            _3 = const "b";
            _2 = &(*_3);
            _5 = const "c";
            _4 = &(*_5);
            _1 = [const "a", move _2, move _4];
            _0 = &_1;
            return;
        }
    }
    ```
    matthiaskrgr authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    9ccbbda View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#122293 - Enselic:no-bare-unix_sigpipe, r=fm…

    …ease
    
    diagnostics: Do not suggest using `#[unix_sigpipe]` without a value
    
    Remove `Word` from the `unix_sigpipe` attribute template so that plain `#[unix_sigpipe]` is not included in suggestions of valid forms of the attribute. Also re-arrange diagnostics code slightly to avoid duplicate diagnostics.
    
    Tracking issue is rust-lang#97889.
    matthiaskrgr authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c4b159c View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#122297 - RalfJung:bootstrap-build, r=onur-o…

    …zkan
    
    bootstrap: document what the triples in 'Build' mean
    
    Thanks to ``@onur-ozkan``  for pointing this out to me.
    matthiaskrgr authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    2a3a8db View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#122302 - ratmice:issue122234, r=cuviper

    docs: Correct ptr/ref verbiage in SliceIndex docs.
    
    Fixes rust-lang#122234
    matthiaskrgr authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    97f3b33 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#122304 - lukas-code:dyn-star-meta, r=compil…

    …er-errors
    
    fix metadata for dyn-star in new solver
    
    The pointee metadata of `dyn* Trait` types is `()` and not a vtable.
    matthiaskrgr authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    16ffeb2 View commit details
    Browse the repository at this point in the history