Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upUse lifetime contravariance to elide more lifetimes in core+alloc+std #59056
Conversation
scottmcm
added
the
T-libs
label
Mar 10, 2019
rust-highfive
assigned
sfackler
Mar 10, 2019
This comment has been minimized.
This comment has been minimized.
|
r? @sfackler (rust_highfive has picked a reviewer for you, use r? to override) |
rust-highfive
added
the
S-waiting-on-review
label
Mar 10, 2019
This comment has been minimized.
This comment has been minimized.
|
@bors r+ rollup |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added
S-waiting-on-bors
and removed
S-waiting-on-review
labels
Mar 10, 2019
Centril
added a commit
to Centril/rust
that referenced
this pull request
Mar 10, 2019
Centril
added a commit
to Centril/rust
that referenced
this pull request
Mar 10, 2019
bors
added a commit
that referenced
this pull request
Mar 10, 2019
Centril
added a commit
to Centril/rust
that referenced
this pull request
Mar 10, 2019
bors
added a commit
that referenced
this pull request
Mar 10, 2019
Centril
added a commit
to Centril/rust
that referenced
this pull request
Mar 10, 2019
bors
added a commit
that referenced
this pull request
Mar 10, 2019
Centril
added a commit
to Centril/rust
that referenced
this pull request
Mar 11, 2019
bors
added a commit
that referenced
this pull request
Mar 11, 2019
kennytm
added a commit
to kennytm/rust
that referenced
this pull request
Mar 11, 2019
pietroalbini
added a commit
to pietroalbini/rust
that referenced
this pull request
Mar 12, 2019
Centril
added a commit
to Centril/rust
that referenced
this pull request
Mar 13, 2019
bors
added a commit
that referenced
this pull request
Mar 13, 2019
bors
merged commit df4ea90
into
rust-lang:master
Mar 13, 2019
scottmcm
deleted the
scottmcm:even-fewer-lifetimes
branch
Mar 13, 2019
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.
scottmcm commentedMar 10, 2019
•
edited
Sample:
I didn't know this worked until recently, but since defining methods contravariantly in their lifetimes this way has worked back to Rust 1.0, we might as well take advantage of combining it with IHLE.