Skip to content

Conversation

nikomatsakis
Copy link
Contributor

r? @brson

This is a partial fix for #2263. It corrects subtyping for function types with bound lifetimes, but not LUB/GLB. The description in the comment in region_inference.rs (included in the patch) explains the situation as best I can, it's a fairly subtle problem, I won't repeat it here.

@brson
Copy link
Contributor

brson commented Oct 25, 2012

r+

Great comments and tests. Took me a while to digest how region inference works, but it lgtm.

@nikomatsakis
Copy link
Contributor Author

Merged in 1a3a707

RalfJung pushed a commit to RalfJung/rust that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants