Skip to content

Fix autodiff_illegal.rs test - #160768

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
JonathanBrouwer:fix_autodiff_ci
Aug 9, 2026
Merged

Fix autodiff_illegal.rs test#160768
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
JonathanBrouwer:fix_autodiff_ci

Conversation

@JonathanBrouwer

@JonathanBrouwer JonathanBrouwer commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

This fixes the current CI failure: #160761 (comment)

r? @ZuseZ4

  • I did not use an LLM to create a change in this PR.
  • I used an LLM to create a change in this PR, and I have explained below how it was used.

@JonathanBrouwer
JonathanBrouwer requested a review from ZuseZ4 August 8, 2026 18:07
@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 8, 2026

@mejrs mejrs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like fallout of #160577

Is it correct to enable proc_macro_hygiene here rather than just change the test output? The test did not previously enable stmt_expr_attributes, for example.

Note also that proc_macro_hygiene is sort of a grab bag of things that macros can't be on and we're likely to move individual items to stable rather than stabilize the entire feature at once. As such if you want this test to reflect changes in what positions macros are allowed in it would be better to not enable the feature.

View changes since this review

@JonathanBrouwer JonathanBrouwer changed the title Add proc_macro_hygiene feature gate to autodiff_illegal.rs to fix CI Fix autodiff_illegal.rs test Aug 8, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Contributor Author

@mejrs Agreed, fixed

@JonathanBrouwer

Copy link
Copy Markdown
Contributor Author

@bors try jobs=optional-x86_64-gnu-autodiff

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 8, 2026
Fix autodiff_illegal.rs test


try-job: optional-x86_64-gnu-autodiff

@mejrs mejrs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me once green unless you want to wait for the autodiff guys to review, but best to merge this soon because the fail message is annoying me already

View changes since this review

@rust-bors

rust-bors Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: dbd7f24 (dbd7f2441d0c37ebd150ecacd40f4bf771c6e63b)
Base parent: 771916f (771916f9028e7fe56d2685f2c4f698de5d7d6a45)

@ZuseZ4

ZuseZ4 commented Aug 8, 2026

Copy link
Copy Markdown
Member

@bors r=mejrs,ZuseZ4 rollup

@rust-bors

rust-bors Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

📌 Commit acd2f65 has been approved by mejrs,ZuseZ4

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Aug 8, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
…=mejrs,ZuseZ4

Fix autodiff_illegal.rs test

This fixes the current CI failure: rust-lang#160761 (comment)

r? @ZuseZ4
rust-bors Bot pushed a commit that referenced this pull request Aug 9, 2026
Rollup of 6 pull requests

Successful merges:

 - #160529 (Upgrade and deduplicate dependencies)
 - #158517 (Initial implementation of named `Fn` trait parameters)
 - #158587 (check if len of array const arg matches the expected len of the type when lowering to valtree)
 - #160748 (Add regression test for cross-crate assoc const private field leak in rustdoc)
 - #160708 (remove old update mechanism)
 - #160768 (Fix autodiff_illegal.rs test)
rust-bors Bot pushed a commit that referenced this pull request Aug 9, 2026
Rollup of 5 pull requests

Successful merges:

 - #158517 (Initial implementation of named `Fn` trait parameters)
 - #158587 (check if len of array const arg matches the expected len of the type when lowering to valtree)
 - #160748 (Add regression test for cross-crate assoc const private field leak in rustdoc)
 - #160708 (remove old update mechanism)
 - #160768 (Fix autodiff_illegal.rs test)
@rust-bors
rust-bors Bot merged commit f5c9a72 into rust-lang:main Aug 9, 2026
14 checks passed
@rustbot rustbot added this to the 1.99.0 milestone Aug 9, 2026
rust-timer added a commit that referenced this pull request Aug 9, 2026
Rollup merge of #160768 - JonathanBrouwer:fix_autodiff_ci, r=mejrs,ZuseZ4

Fix autodiff_illegal.rs test

This fixes the current CI failure: #160761 (comment)

r? @ZuseZ4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

4 participants