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

Merged
merged 16 commits into from
May 30, 2024
Merged

Rollup of 7 pull requests #125761

merged 16 commits into from
May 30, 2024

Commits on May 20, 2024

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

Commits on May 29, 2024

  1. Configuration menu
    Copy the full SHA
    ceb45d5 View commit details
    Browse the repository at this point in the history
  2. Make body_owned_by return the body directly.

    Almost all callers want this anyway, and now we can use it to also return fed bodies
    oli-obk committed May 29, 2024
    Configuration menu
    Copy the full SHA
    a34c26e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c497cb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f35cfd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a8234d5 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    3104365 View commit details
    Browse the repository at this point in the history
  2. coverage: Rename MC/DC conditions_num to num_conditions

    This value represents a quantity of conditions, not an ID, so the new spelling
    is more appropriate.
    Zalathar committed May 30, 2024
    Configuration menu
    Copy the full SHA
    c671eaa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c68a15 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#125342 - tbu-:pr_doc_write, r=ChrisDenton

    Document platform-specifics for `Read` and `Write` of `File`
    matthiaskrgr committed May 30, 2024
    Configuration menu
    Copy the full SHA
    70e7b49 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#125711 - oli-obk:const_block_ice2, r=Nadrieril

    Make `body_owned_by` return the `Body` instead of just the `BodyId`
    
    fixes rust-lang#125677
    
    Almost all `body_owned_by` callers immediately called `body`, too, so just return `Body` directly.
    
    This makes the inline-const query feeding more robust, as all calls to `body_owned_by` will now yield a body for inline consts, too.
    
    I have not yet figured out a good way to make `tcx.hir().body()` return an inline-const body, but that can be done as a follow-up
    matthiaskrgr committed May 30, 2024
    Configuration menu
    Copy the full SHA
    7ed5d46 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#125739 - RalfJung:drop-in-place-docs, r=wor…

    …kingjubilee
    
    drop_in_place: weaken the claim of equivalence with drop(ptr.read())
    
    The two are *not* semantically equivalent in all cases, so let's not be so definite about this.
    
    Fixes rust-lang#112015
    matthiaskrgr committed May 30, 2024
    Configuration menu
    Copy the full SHA
    60c2d80 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#125745 - tgross35:bump-stage0, r=Mark-Simul…

    …acrum
    
    Bump the stage0 compiler to beta.7 (2024-05-26)
    
    As mentioned at rust-lang#125016 (comment)
    matthiaskrgr committed May 30, 2024
    Configuration menu
    Copy the full SHA
    cffcf9c View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#125746 - jmillikin:duration-from-weeks-typo…

    …, r=lqd
    
    Fix copy-paste error in `Duration::from_weeks` panic message.
    matthiaskrgr committed May 30, 2024
    Configuration menu
    Copy the full SHA
    a4d00ff View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#125753 - Zalathar:procres, r=jieyouxu

    compiletest: Unify `cmd2procres` with `run_command_to_procres`
    
    Historical context: I originally added `run_command_to_procres` in rust-lang#112300 and rust-lang#114843, because I didn't like the overly-specific failure message in `cmd2procres`, but at the time I didn't feel confident enough to change the existing code, so I just added my own similar code.
    
    Now I'm going back to remove this redundancy by eliminating `cmd2procress`, and adjusting all callers to use a slightly-tweaked `run_command_to_procres` instead.
    matthiaskrgr committed May 30, 2024
    Configuration menu
    Copy the full SHA
    5e83248 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#125754 - Zalathar:conditions-num, r=lqd

    coverage: Rename MC/DC `conditions_num` to `num_conditions`
    
    Updated version of rust-lang#124571, without the other changes that were split out into rust-lang#125108 and rust-lang#125700.
    
    This value represents a quantity of conditions, not an ID, so the new spelling is more appropriate.
    
    Some of the code touched by this PR could perhaps use some other changes, but I would prefer to keep this PR as a simple renaming and avoid scope creep.
    
    `@rustbot` label +A-code-coverage
    matthiaskrgr committed May 30, 2024
    Configuration menu
    Copy the full SHA
    479d6ca View commit details
    Browse the repository at this point in the history