Update toolchain to nightly-2026-03-08#94
Draft
coord-e wants to merge 3 commits into
Draft
Conversation
Adapts thrust to breaking MIR and API changes introduced between
nightly-2025-09-08 and nightly-2026-03-08:
- rust-toolchain.toml: bump channel to nightly-2026-03-08
- src/main.rs: update for new rustc query/provider API shape
(mir_borrowck, StripTokens, AllowConstBlockItems, ExitCode return)
- src/analyze.rs: fix mir_borrowck_skip_formula_fn signature for new
ErrorGuaranteed / FxIndexMap types
- src/analyze/basic_block.rs: handle ReifyFnPointer(_) wildcard and
new Operand::RuntimeChecks variant
- src/analyze/local_def.rs: handle two new MIR elaboration patterns
that replace CopyForDeref in 2026-03-08:
1. Two-stage box deref: `_nonnull = copy box.Field(Unique).Field(NonNull)`
followed by `_ptr = Transmute(_nonnull)` — fixes list_length_const etc.
2. Closure &mut T capture: `_alias = copy (*closure).field` with &mut T
type — fixes closure_mut / closure_mut_0 false negatives
- src/refine/env.rs: fix large_enum_variant (box PlaceType), path_type
deref, and locate_place loop style for new clippy lints
- tests/ui/fail/{just_rec,split,fn_poly_param_order,adt_discr,
extern_spec_take,annot_formula_fn,annot_preds_trait,
annot_preds_trait_multi,iterators/range}.rs: add //@no-rustfix to
suppress ui_test rustfix checks that now correctly detect Unsat
https://claude.ai/code/session_01URrtbSTUKNrVKLK2MNLBFc
Covers loose MIR dump files and compiled debug binaries produced during nightly toolchain debugging sessions. https://claude.ai/code/session_01URrtbSTUKNrVKLK2MNLBFc
nightly-2026-03-08 generates more complex CHC constraints for the nested iterator pattern (FixedFilter wrapping Range), causing Z3's SPACER algorithm to time out. Disable SPACER by clearing solver args (like range.rs already does) so Z3 uses its default FP strategy. https://claude.ai/code/session_01URrtbSTUKNrVKLK2MNLBFc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adapts thrust to breaking MIR and API changes introduced between
nightly-2025-09-08 and nightly-2026-03-08:
rust-toolchain.toml: bump channel to nightly-2026-03-08
src/main.rs: update for new rustc query/provider API shape
(mir_borrowck, StripTokens, AllowConstBlockItems, ExitCode return)
src/analyze.rs: fix mir_borrowck_skip_formula_fn signature for new
ErrorGuaranteed / FxIndexMap types
src/analyze/basic_block.rs: handle ReifyFnPointer(_) wildcard and
new Operand::RuntimeChecks variant
src/analyze/local_def.rs: handle two new MIR elaboration patterns
that replace CopyForDeref in 2026-03-08:
_nonnull = copy box.Field(Unique).Field(NonNull)followed by
_ptr = Transmute(_nonnull)— fixes list_length_const etc._alias = copy (*closure).fieldwith &mut Ttype — fixes closure_mut / closure_mut_0 false negatives
src/refine/env.rs: fix large_enum_variant (box PlaceType), path_type
deref, and locate_place loop style for new clippy lints
tests/ui/fail/{just_rec,split,fn_poly_param_order,adt_discr,
extern_spec_take,annot_formula_fn,annot_preds_trait,
annot_preds_trait_multi,iterators/range}.rs: add //@no-rustfix to
suppress ui_test rustfix checks that now correctly detect Unsat
https://claude.ai/code/session_01URrtbSTUKNrVKLK2MNLBFc