Fix subtle error in caching during kind computation that could cause lin...#4848
Closed
nikomatsakis wants to merge 1 commit intorust-lang:incomingfrom
Closed
Fix subtle error in caching during kind computation that could cause lin...#4848nikomatsakis wants to merge 1 commit intorust-lang:incomingfrom
nikomatsakis wants to merge 1 commit intorust-lang:incomingfrom
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
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