Skip to content

Rollup of 10 pull requests - #108096

Merged
bors merged 31 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-ncexzf6
Feb 16, 2023
Merged

Rollup of 10 pull requests#108096
bors merged 31 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-ncexzf6

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

compiler-errorsand others added 30 commits February 13, 2023 19:29
The naming of `machine` only makes sense from a mir interpreter internals perspective, but outside users talk about the `target` platform
…li-obk
Migrating rustc_infer to session diagnostics (part 4)
`@rustbot` label +A-translation
r? rust-lang/diagnostics
cc rust-lang#100717
…rister
Fix unintentional UB in ui tests
`@matthiaskrgr` found UB in a bunch of the ui tests. This PR fixes a batch of miscellaneous tests I didn't think needed reviewers from a particular part of the project.
…l, r=lcnr
Make `InferCtxt::can_eq` and `InferCtxt::can_sub` return booleans
Nobody matches on the result, nor does the result return anything useful...
make x look for x.py if shell script does not exist
Fixesrust-lang#107907
Manually tested by doing the following after changes were made:
1. `cargo install --path src/tools/x`
2. checked out old version: commit hash `775c3c0` from rust-lang#99992
3. Ran `x --help` and it works. Previously, it was giving the error `x.py not found`
Use `target` instead of `machine` for mir interpreter integer handling.
The naming of `machine` only makes sense from a mir interpreter internals perspective, but outside users talk about the `target` platform. As per rust-lang#108029 (comment)
r? `@RalfJung`
…=compiler-errors
Don't suggest `#[doc(hidden)]` trait methods with matching return type
Fixesrust-lang#107983, addressing the bad suggestion.
The test can probably be made more specific to this case, but I'm unsure how.
`@rustbot` label +A-diagnostics
…bad-impl-trait, r=petrochenkov
Better names for illegal impl trait positions
Just some wording tweaks, no behavior changes.
…otriddle
rustdoc: Use more let chain
Got the idea after yesterday's review.
r? `@notriddle`
clarify correctness of `black_box`
Resolvesrust-lang#107957, as described in the related issue.
No code changes, just documentation.
@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 15, 2023
@bors

bors commented Feb 15, 2023

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 5547101 with merge 508dd4ba2f0659d567ba4f8b09f31c9c8ecd7db9...

@bors

bors commented Feb 15, 2023

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 15, 2023
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 15, 2023
@bors

bors commented Feb 16, 2023

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 5547101 with merge dc7a676...

@bors

bors commented Feb 16, 2023

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing dc7a676 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Feb 16, 2023
@bors
bors merged commit dc7a676 into rust-lang:masterFeb 16, 2023
@rustbotrustbot added this to the 1.69.0 milestone Feb 16, 2023
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (dc7a676): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

meanrangecount
Regressions ❌
(primary)
3.5%[3.2%, 3.8%]3
Regressions ❌
(secondary)
2.5%[0.6%, 4.8%]52
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-5.5%[-5.8%, -5.2%]2
All ❌✅ (primary)3.5%[3.2%, 3.8%]3

Cycles

This benchmark run did not return any relevant results for this metric.

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job i686-mingw-1 failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
[2629/3021] Linking CXX static library lib\libLLVMWebAssemblyDesc.a
[2630/3021] Linking CXX static library lib\libLLVMM68kAsmParser.a
[2631/3021] Linking CXX static library lib\libLLVMWebAssemblyDisassembler.a
FAILED: lib/libLLVMWebAssemblyDisassembler.a cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E rm -f lib\libLLVMWebAssemblyDisassembler.a && D:\a\rust\rust\mingw32\bin\ar.exe qc lib\libLLVMWebAssemblyDisassembler.a lib/Target/WebAssembly/Disassembler/CMakeFiles/LLVMWebAssemblyDisassembler.dir/WebAssemblyDisassembler.cpp.obj && D:\a\rust\rust\mingw32\bin\ranlib.exe lib\libLLVMWebAssemblyDisassembler.a && cd ."
D:\a\rust\rust\mingw32\bin\ranlib.exe: could not create temporary file whilst writing archive: no more archived files
[2632/3021] Linking CXX static library lib\libLLVMWebAssemblyCodeGen.a
[2633/3021] Linking CXX static library lib\libLLVMX86CodeGen.a
[2634/3021] Building CXX object tools/dsymutil/CMakeFiles/dsymutil.dir/SymbolMap.cpp.obj
[2635/3021] Building CXX object tools/lli/CMakeFiles/lli.dir/ExecutionUtils.cpp.obj
[2635/3021] Building CXX object tools/lli/CMakeFiles/lli.dir/ExecutionUtils.cpp.obj
[2636/3021] Linking CXX executable bin\llvm-profdata.exe
[2637/3021] Building CXX object tools/lli/CMakeFiles/lli.dir/lli.cpp.obj
[2638/3021] Linking CXX static library lib\libLLVMPasses.a
ninja: build stopped: subcommand failed.
command did not execute successfully, got: exit code: 1
build script failed, must exit now', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-1cd66030c949c28d\cmake-0.1.48\src\lib.rs:975:5
finished in 268.496 seconds
Build completed unsuccessfully in 0:07:32
Build completed unsuccessfully in 0:07:32
make: *** [Makefile:78: ci-mingw-subset-1] Error 1

@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

thanks @rust-log-analyzer, just in time 🙂

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustdoc-jsonArea: Rustdoc JSON backendA-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

14 participants

@matthiaskrgr@bors@rust-timer@rust-log-analyzer@rustbot@compiler-errors@IntQuant@zephaniahong@oli-obk@GuillaumeGomez@clubby789@saethlin@callumio@kornelski