Skip to content

Conversation

@smanilov
Copy link
Contributor

Normally I refrain from nit picking, but this seamed worth it.

Normally I refrain from nit picking, but this seamed worth it.
)
```
This would cause all kinds of issues as the region `'^1_0` refers to a binder at a higher level than the outermost binder i.e. it is an escaping bound var. The `'^1` region (also writeable as `'^0_1`) is also ill formed as the binder it refers to does not introduce a second parameter. Modern day rustc will ICE when constructing this binder due to both of those regions, in the past we would have simply allowed this to work and then ran into issues in other parts of the codebase.
This would cause all kinds of issues as the region `'^1_0` refers to a binder at a higher level than the outermost binder i.e. it is an escaping bound var. The `'^1` region (also writeable as `'^0_1`) is also ill formed as the binder it refers to does not introduce a second parameter. Modern day rustc will ICE when constructing this binder due to both of those reasons, in the past we would have simply allowed this to work and then ran into issues in other parts of the codebase.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this was really a mistake, but the new one works too

@Noratrieb Noratrieb merged commit bcf2bab into rust-lang:master May 20, 2025
1 check passed
@Noratrieb
Copy link
Member

thanks! btw, while we're correcting typos, it's "seemed", not "seamed" :)

@tshepang
Copy link
Member

@smanilov am happy to review your future nit picks... I appreciate making text better, even in small ways

@smanilov
Copy link
Contributor Author

thanks! btw, while we're correcting typos, it's "seemed", not "seamed" :)

ah, of course, thanks 😅

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.

3 participants