Skip to content

Update toolchain to nightly-2026-09-24 - #4870

Merged
feliperodri merged 2 commits into
model-checking:mainfrom
feliperodri:fix-4866-toolchain-2026-09-24
Sep 29, 2026
Merged

feliperodri merged 2 commits into
model-checking:mainfrom
feliperodri:fix-4866-toolchain-2026-09-24

Conversation

@feliperodri

Copy link
Copy Markdown
Member

One source change: rustc_hir stopped re-exporting AttrArgs at its root (rust-lang/rust#163207). The type lives in rustc_attr_ir, which rustc_hir re-exports as attrs, so the import becomes rustc_hir::attrs::AttrArgs.

Worth knowing if you hit this elsewhere: rustc suggests rustc_ast::AttrArgs instead, and taking the suggestion compiles the import but then fails on the use site. They are different types — the AST one carries a full expression, the HIR one a lowered literal — and Attribute::get_normal_item returns the HIR one.

Nothing else in the range touched us. I ran the full set locally on the new toolchain rather than leaning on CI: every compiletest suite (kani, expected, ui, cargo-kani, cargo-ui, script-based-pre, coverage, firecracker, prusti, smack, kani-fixme — 1510 passing, 0 failing), the unit tests for all five crates including kani with concrete_playback, fmt, clippy with -D warnings, and the LLBC build and its regression suite. The charon patch still applies unchanged.

Resolves #4866

`rustc_hir` stopped re-exporting `AttrArgs` at its root (rust-lang/rust#163207,
"Update deprecated rustc_hir imports"). The type now lives in `rustc_attr_ir`,
which `rustc_hir` re-exports as `attrs`, so the import moves to
`rustc_hir::attrs::AttrArgs`.

Note this is not `rustc_ast::AttrArgs`, which the compiler helpfully suggests
and which is a different type: the AST one carries a full expression, the HIR
one carries a lowered literal, and `Attribute::get_normal_item` returns the
latter.

Resolves model-checking#4866
@feliperodri
feliperodri requested review from a team as code owners September 25, 2026 16:16
@github-actions github-actions Bot added Z-EndToEndBenchCI Tag a PR to run benchmark CI Z-CompilerBenchCI Tag a PR to run benchmark CI labels Sep 25, 2026
@feliperodri
feliperodri added this pull request to the merge queue Sep 29, 2026
Merged via the queue into model-checking:main with commit c35cb96 Sep 29, 2026
34 checks passed
@feliperodri
feliperodri deleted the fix-4866-toolchain-2026-09-24 branch September 29, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Z-CompilerBenchCI Tag a PR to run benchmark CI Z-EndToEndBenchCI Tag a PR to run benchmark CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Toolchain upgrade to nightly-2026-09-24 failed

2 participants