Skip to content

Add extra splat tests - #158677

Merged
rust-bors[bot] merged 4 commits into
rust-lang:mainfrom
teor2345:extra-splat-tests
Jul 5, 2026
Merged

Add extra splat tests#158677
rust-bors[bot] merged 4 commits into
rust-lang:mainfrom
teor2345:extra-splat-tests

Conversation

@teor2345

@teor2345teor2345 commented Jul 2, 2026

Copy link
Copy Markdown
Member

This PR is part of the splat lang experiment #153629.

It adds a bunch of tests for existing splat functionality, but doesn't make any compiler code changes.

Edit: split off from PR #158645

@rustbot label +F-splat +T-compiler

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jul 2, 2026
@rustbot

Copy link
Copy Markdown
Collaborator

r? @wesleywiser

rustbot has assigned @wesleywiser.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 73 candidates
  • Random selection from 16 candidates

@rustbotrustbot added the F-splat `#![feature(splat)]` https://github.com/rust-lang/rust/issues/153629 label Jul 2, 2026
@wesleywiser

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-borsBot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 7592485 has been approved by wesleywiser

It is now in the queue for this repository.

🌲 The tree is currently closed for pull requests below priority 1000. This pull request will be tested once the tree is reopened.

@rust-borsrust-borsBot 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 Jul 2, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jul 2, 2026
…eywiser
Add extra splat tests
This PR is part of the splat lang experiment rust-lang#153629.
It adds a bunch of tests for existing splat functionality, but doesn't make any compiler code changes.
Edit: split off from PR rust-lang#158645@rustbot label +F-splat +T-compiler
rust-borsBot pushed a commit that referenced this pull request Jul 3, 2026
…uwer
Rollup of 22 pull requests
Successful merges:
- #155429 (Support `u128`/`i128` c-variadic arguments)
- #158100 (Emit retags in codegen to support BorrowSanitizer (part 4))
- #158494 (Improve E0277 diagnostics for conditionally implemented traits)
- #158606 (use ProjectionPredicate instead of AliasRelate)
- #158627 (Simplify option-iterator flattening in the compiler)
- #158658 (Update LLVM submodule)
- #158665 (Revert "Remove redundant dyn-compatibility check.")
- #158021 (Remove old MinGW workaround)
- #158473 (Add `riscv32imfc-unknown-none-elf` bare-metal target)
- #158549 (process::exec: using appropriate exit code on vxworks.)
- #158585 (Improve diagnostic for too many super keywords)
- #158637 (hir_ty_lowering: avoid self type lookup for inherent aliases)
- #158651 (ptr doc: reduce use of unsafe block to where needed)
- #158669 (Remove `src/tools/test-float-parse/Cargo.lock`)
- #158674 (library: Polish transmute's `split_at_stdlib` example)
- #158677 (Add extra splat tests)
- #158680 (Avoid ICE for `NonZero<char>` in improper_ctypes)
- #158681 (Remove unnecessary `Hash` derives from MIR types)
- #158682 (Avoid delayed bug for disabled on_type_error arguments)
- #158684 (Add missing generic test coverage for ```#[splat]```)
- #158687 (Streamline `MacEager`)
- #158688 (Cleanup attribute docs and add links to other mentioned attributes)
rust-borsBot pushed a commit that referenced this pull request Jul 5, 2026
…uwer
Rollup of 22 pull requests
Successful merges:
- #155429 (Support `u128`/`i128` c-variadic arguments)
- #158100 (Emit retags in codegen to support BorrowSanitizer (part 4))
- #158494 (Improve E0277 diagnostics for conditionally implemented traits)
- #158606 (use ProjectionPredicate instead of AliasRelate)
- #158627 (Simplify option-iterator flattening in the compiler)
- #158658 (Update LLVM submodule)
- #158665 (Revert "Remove redundant dyn-compatibility check.")
- #158021 (Remove old MinGW workaround)
- #158473 (Add `riscv32imfc-unknown-none-elf` bare-metal target)
- #158549 (process::exec: using appropriate exit code on vxworks.)
- #158585 (Improve diagnostic for too many super keywords)
- #158637 (hir_ty_lowering: avoid self type lookup for inherent aliases)
- #158651 (ptr doc: reduce use of unsafe block to where needed)
- #158669 (Remove `src/tools/test-float-parse/Cargo.lock`)
- #158674 (library: Polish transmute's `split_at_stdlib` example)
- #158677 (Add extra splat tests)
- #158680 (Avoid ICE for `NonZero<char>` in improper_ctypes)
- #158681 (Remove unnecessary `Hash` derives from MIR types)
- #158682 (Avoid delayed bug for disabled on_type_error arguments)
- #158684 (Add missing generic test coverage for ```#[splat]```)
- #158687 (Streamline `MacEager`)
- #158688 (Cleanup attribute docs and add links to other mentioned attributes)
rust-borsBot pushed a commit that referenced this pull request Jul 5, 2026
…uwer
Rollup of 21 pull requests
Successful merges:
- #158100 (Emit retags in codegen to support BorrowSanitizer (part 4))
- #158494 (Improve E0277 diagnostics for conditionally implemented traits)
- #158606 (use ProjectionPredicate instead of AliasRelate)
- #158627 (Simplify option-iterator flattening in the compiler)
- #158658 (Update LLVM submodule)
- #158665 (Revert "Remove redundant dyn-compatibility check.")
- #158021 (Remove old MinGW workaround)
- #158473 (Add `riscv32imfc-unknown-none-elf` bare-metal target)
- #158549 (process::exec: using appropriate exit code on vxworks.)
- #158585 (Improve diagnostic for too many super keywords)
- #158637 (hir_ty_lowering: avoid self type lookup for inherent aliases)
- #158651 (ptr doc: reduce use of unsafe block to where needed)
- #158669 (Remove `src/tools/test-float-parse/Cargo.lock`)
- #158674 (library: Polish transmute's `split_at_stdlib` example)
- #158677 (Add extra splat tests)
- #158680 (Avoid ICE for `NonZero<char>` in improper_ctypes)
- #158681 (Remove unnecessary `Hash` derives from MIR types)
- #158682 (Avoid delayed bug for disabled on_type_error arguments)
- #158684 (Add missing generic test coverage for ```#[splat]```)
- #158687 (Streamline `MacEager`)
- #158688 (Cleanup attribute docs and add links to other mentioned attributes)
@rust-bors
rust-borsBot merged commit 63f9378 into rust-lang:mainJul 5, 2026
13 checks passed
@rustbotrustbot added this to the 1.98.0 milestone Jul 5, 2026
rust-timer added a commit that referenced this pull request Jul 5, 2026
Rollup merge of #158677 - teor2345:extra-splat-tests, r=wesleywiser
Add extra splat tests
This PR is part of the splat lang experiment #153629.
It adds a bunch of tests for existing splat functionality, but doesn't make any compiler code changes.
Edit: split off from PR #158645@rustbot label +F-splat +T-compiler
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

F-splat`#![feature(splat)]` https://github.com/rust-lang/rust/issues/153629S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@teor2345@rustbot@wesleywiser