Repository navigation
Fix subtle error in caching during kind computation that could cause lin... - #4848
Closed
nikomatsakis wants to merge 1 commit into
Closed
nikomatsakis wants to merge 1 commit into
nikomatsakis wants to merge 1 commit into
Conversation
…linear values to be copied. Rewrite kind computation so that instead of directly computing the kind it computes what kinds of values are present in the type, and then derive kinds based on that. I find this easier to think about. Fixes rust-lang#4821.
Contributor
|
( @nikomatsakis , my questions still apply but I didn't want to hold this up any further :-) |
Contributor
Author
|
@bors: retry |
bors
added a commit
that referenced
this pull request
Feb 9, 2013
…on, r=catamorphism ...ear values to be copied. Rewrite kind computation so that instead of directly computing the kind it computes what kinds of values are present in the type, and then derive kinds based on that. I find this easier to think about. Fixes #4821. r? @catamorphism
RalfJung
added a commit
to RalfJung/rust
that referenced
this pull request
Feb 16, 2026
…2-0.20.4 Bump git2 from 0.20.2 to 0.20.4
feliperodri
added a commit
to model-checking/verify-rust-std
that referenced
this pull request
Oct 3, 2026
- rust-toolchain: nightly-2026-09-25, matching the library merged above. - Kani: main at 1640445d (model-checking/kani#4951), the toolchain Kani main is on. It carries the autoharness fixes this sync needed: rust-lang#4819, rust-lang#4848, rust-lang#4869, rust-lang#4801, rust-lang#4927 and rust-lang#4951. - Flux: main at 849ef7c3, on nightly-2026-09-25 (flux-rs/flux#1802). - autoharness_analyzer: add Kani's Comptime and UnsupportedVariadic skip reasons, which it now emits; without them the analyzer fails on 'unknown variant'. Item 2 of #707.
jrey8343
pushed a commit
to jrey8343/verify-rust-std
that referenced
this pull request
Oct 7, 2026
…#687) This PR merges library subtree updates from 2026-02-05 (rust-lang/rust@db3e99b) to 2026-09-25 (rust-lang/rust@f7575a9) (inclusive) into main. It was opened automatically for nightly-2026-08-21 and has since been moved forward to nightly-2026-09-25, the toolchain of Kani `main`, which this repository's toolchain is coupled to. Kani is pinned to `main` (1640445d), which carries the autoharness fixes this sync needed (model-checking/kani#4819, rust-lang#4848, rust-lang#4869, rust-lang#4801, rust-lang#4927, rust-lang#4951). Flux is pinned to `main` (849ef7c3, flux-rs/flux#1802). Known open items: - VeriFast proofs for `linked_list.rs` and `raw_vec` conflict with the upstream changes and still need updating. - `Verify contracts with goto-transcoder`: ESBMC segfaults on contracts generated by Kani `main` (model-checking#708). **Do not remove or edit the following annotations:** git-subtree-dir: library git-subtree-split: 066e3de --------- Signed-off-by: Amirhossein Akhlaghpour <[email protected]> Co-authored-by: Ralf Jung <[email protected]> Co-authored-by: Jonathan Brouwer <[email protected]> Co-authored-by: Ben Kimock <[email protected]> Co-authored-by: Roland Xu <[email protected]> Co-authored-by: bors <[email protected]> Co-authored-by: Amirhossein Akhlaghpour <[email protected]> Co-authored-by: gitbot <git@bot> Co-authored-by: David Carlier <[email protected]> Co-authored-by: Folkert de Vries <[email protected]> Co-authored-by: Max Dexheimer <[email protected]> Co-authored-by: Evgenii Zheltonozhskii <[email protected]> Co-authored-by: Folkert de Vries <[email protected]> Co-authored-by: ltdk <[email protected]> Co-authored-by: Jacob Pratt <[email protected]> Co-authored-by: ywxt <[email protected]> Co-authored-by: Erica Z <[email protected]> Co-authored-by: Mikhail Baykov <[email protected]> Co-authored-by: Amanieu d'Antras <[email protected]> Co-authored-by: Adam Gemmell <[email protected]> Co-authored-by: Jakub Beránek <[email protected]> Co-authored-by: xonx <[email protected]> Co-authored-by: WANG Rui <[email protected]> Co-authored-by: Jonathan Keller <[email protected]> Co-authored-by: Felipe R. Monteiro <[email protected]> Co-authored-by: The Miri Cronjob Bot <[email protected]> Co-authored-by: Shun Sakai <[email protected]> Co-authored-by: Joel-Wwalker <[email protected]> Co-authored-by: Trevor Gross <[email protected]> Co-authored-by: Zachary S <[email protected]> Co-authored-by: Stuart Cook <[email protected]> Co-authored-by: nodamushi <[email protected]> Co-authored-by: Chris Denton <[email protected]> Co-authored-by: yilin <[email protected]> Co-authored-by: Sergey "Shnatsel" Davidoff <[email protected]> Co-authored-by: The rustc-josh-sync Cronjob Bot <[email protected]> Co-authored-by: tangaac <[email protected]> Co-authored-by: Karl Meakin <[email protected]> Co-authored-by: kianalikasana <[email protected]> Co-authored-by: yvz <[email protected]> Co-authored-by: Clar Fon <[email protected]> Co-authored-by: Alice Ryhl <[email protected]> Co-authored-by: Jason Gerard DeRose <[email protected]> Co-authored-by: Cameron Steffen <[email protected]> Co-authored-by: Oleksandr Babak <[email protected]> Co-authored-by: Bart Jacobs <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]> Co-authored-by: James Barford-Evans <[email protected]> Co-authored-by: Brad Smith <[email protected]> Co-authored-by: asquared31415 <[email protected]> Co-authored-by: mejrs <[email protected]> Co-authored-by: Alex Crichton <[email protected]> Co-authored-by: malezjaa <[email protected]> Co-authored-by: Nia Deckers <[email protected]> Co-authored-by: Zac Harrold <[email protected]> Co-authored-by: Amar Shah <[email protected]> Co-authored-by: khyperia <[email protected]> Co-authored-by: Boxy <[email protected]> Co-authored-by: David Wood <[email protected]> Co-authored-by: Srivatsan Samraj <[email protected]> Co-authored-by: Srivatsan Samraj <[email protected]>
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.
...ear
values to be copied. Rewrite kind computation so that instead of directly
computing the kind it computes what kinds of values are present in the type,
and then derive kinds based on that. I find this easier to think about.
Fixes #4821.
r? @catamorphism