Skip to content

Conversation

nikomatsakis
Copy link
Contributor

Fixes various safety issues.

r? @aturon

code. Previously we were creating a subtyping relation in the wrong
direction. We now just unify types, which is stronger than necessary
but turns out fine.

Fixes rust-lang#19552.
Fixes rust-lang#19997.
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 5, 2015
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: this should be &'f0 mut Foo<'f1, '_2>? (&'f1 is not a type).

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 6, 2015
@bors bors merged commit dbfa054 into rust-lang:master Jan 6, 2015
@nikomatsakis nikomatsakis deleted the safety-issue-19997 branch March 30, 2016 16:17
lnicola pushed a commit to lnicola/rust that referenced this pull request Sep 18, 2025
…pzus

fix: Only compute unstable paths on nightly toolchains for IDE features
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.

4 participants