-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
handle elision in async fn correctly #63499
Merged
bors
merged 10 commits into
rust-lang:master
from
nikomatsakis:issuee-63388-async-fn-elision-self-mut-self
Aug 14, 2019
Merged
handle elision in async fn correctly #63499
bors
merged 10 commits into
rust-lang:master
from
nikomatsakis:issuee-63388-async-fn-elision-self-mut-self
Aug 14, 2019
Commits on Aug 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 43a2cbd - Browse repository at this point
Copy the full SHA 43a2cbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a694782 - Browse repository at this point
Copy the full SHA a694782View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9294a2 - Browse repository at this point
Copy the full SHA d9294a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f395787 - Browse repository at this point
Copy the full SHA f395787View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ce8f7a - Browse repository at this point
Copy the full SHA 5ce8f7aView commit details
Commits on Aug 12, 2019
-
revamp how we handle elision in async fn
We now always make fresh lifetimne parameters for all elided lifetimes, whether they are in the inputs or outputs. But then we generate `'_` in the case of elided lifetimes from the outputs. Example: ```rust async fn foo<'a>(x: &'a u32) -> &u32 { .. } ``` becomes ```rust type Foo<'a, 'b> = impl Future<Output = &'b u32>; fn foo<'a>(x: &'a u32) -> Foo<'a, '_> ```
Configuration menu - View commit details
-
Copy full SHA for 03e7b96 - Browse repository at this point
Copy the full SHA 03e7b96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 948739f - Browse repository at this point
Copy the full SHA 948739fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad214fe - Browse repository at this point
Copy the full SHA ad214feView commit details
Commits on Aug 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d7c7c52 - Browse repository at this point
Copy the full SHA d7c7c52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18d69c8 - Browse repository at this point
Copy the full SHA 18d69c8View commit details
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.