Skip to content

Add more splat fn type tests - #161711

Open
teor2345 wants to merge 1 commit into
rust-lang:mainfrom
teor2345:more-splat-fn-ptr-tests
Open

Add more splat fn type tests#161711
teor2345 wants to merge 1 commit into
rust-lang:mainfrom
teor2345:more-splat-fn-ptr-tests

Conversation

@teor2345

@teor2345 teor2345 commented Aug 25, 2026

Copy link
Copy Markdown
Member

Tracking issue: #153629

This PR turns some rustfmt splat tests from rust-lang/rustfmt#7032 into rustc UI tests. It is a test-only PR.

These tests check invalid function pointer / function type splatting, which has had recent ICE fixes (#158603, #159643).

The rustfmt::skip is required until #161709 reaches stable.

@teor2345 teor2345 self-assigned this Aug 25, 2026
@teor2345 teor2345 added A-testsuite Area: The testsuite used to check the correctness of rustc F-splat `#![feature(splat)]` https://github.com/rust-lang/rust/issues/153629 labels Aug 25, 2026
@rustbot rustbot 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 Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testsuite Area: The testsuite used to check the correctness of rustc F-splat `#![feature(splat)]` https://github.com/rust-lang/rust/issues/153629 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants