8000 Rollup of 7 pull requests by Centril · Pull Request #65032 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 7 pull requests #65032

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

Closed
wants to merge 31 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
5cbe6aa
Reword E0392 slightly
estebank Sep 30, 2019
7b480cd
Implement Clone::clone_from for LinkedList
crgl Oct 1, 2019
2537a8a
syntax: improve parameter without type suggestions
davidtwco Oct 1, 2019
fb80e6c
BacktraceStatus: add Eq impl
mathstuf Oct 2, 2019
03455e4
Filter out RLS output directories on tidy runs
spastorino Oct 2, 2019
c845f3d
track the kind of async generator we are creating
nikomatsakis Sep 25, 2019
44e801a
thread down the body so we can check if this is an async fn body
nikomatsakis Sep 25, 2019
c8e5851
improved debug output
nikomatsakis Oct 2, 2019
f7ed53c
extract expected return type from `-> impl Future` obligation
nikomatsakis Oct 2, 2019
094f3a8
WIP tidy hir/lowering/expr.rs
nikomatsakis Oct 2, 2019
81cd596
WIP rebase for `shallow_resolve` call
nikomatsakis Oct 2, 2019
5055d4b
Use zipped iterators in clone_from for LinkedList
crgl Oct 2, 2019
df203a2
Compare primary with value instead of dropping it
AnthonyMikh Oct 2, 2019
dce20bf
WIP fix tests
nikomatsakis Oct 2, 2019
3ae4abb
correct coercion comments
nikomatsakis Oct 2, 2019
a999132
improve comments on `GeneratorKind` and `AsyncGeneratorKind`
nikomatsakis Oct 2, 2019
5d64b3d
document `ret_coercion` and `ret_coercion_span`
nikomatsakis Oct 2, 2019
5fea1d2
document `shallow_resolve`
nikomatsakis Oct 2, 2019
3f277e1
s/`async` fn/`async fn`/
nikomatsakis Oct 2, 2019
a96bce7
avoid using `skip_binder` and instead look for bound vars properly
nikomatsakis Oct 2, 2019
864e6fe
Add test for LinkedList clone_from
crgl Oct 2, 2019
a180294
review comment
estebank Oct 2, 2019
4a49351
add unsize slice-str coercion
nikomatsakis Oct 2, 2019
19c07cc
fix example (le sigh)
nikomatsakis Oct 2, 2019
e948b08
Rollup merge of #64931 - estebank:missing-param-ref, r=matthewjasper,…
Centril Oct 2, 2019
f770830
Rollup merge of #64959 - davidtwco:issue-64252-self-type-help, r=Cent…
Centril Oct 2, 2019
d1edd84
Rollup merge of #64975 - crgl:clone-from-linked-list, r=bluss
Centril Oct 2, 2019
1541091
Rollup merge of #64993 - mathstuf:backtrace-status-eq, r=withoutboats
Centril Oct 2, 2019
f6125f1
Rollup merge of #64998 - spastorino:filter-rls-on-tidy, r=petrochenkov
Centril Oct 2, 2019
bb39529
Rollup merge of #64999 - nikomatsakis:issue-60424-async-return-infere…
Centril Oct 2, 2019
9e9e5b3
Rollup merge of #65010 - AnthonyMikh:fix_65001, r=estebank
Centril Oct 2, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP tidy hir/lowering/expr.rs
  • Loading branch information
nikomatsakis committed Oct 2, 2019
commit 094f3a844ed95e2aeda8708cf32a85bd40e7e229
10 changes: 6 additions & 4 deletions src/librustc/hir/lowering/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -775,10 +775,12 @@ impl LoweringContext<'_> {
None
};
let async_body = this.make_async_expr(
capture_clause, closure_id, async_ret_ty, body.span, hir::AsyncGeneratorKind::Closure,
|this| {
this.with_new_scopes(|this| this.lower_expr(body))
}
capture_clause,
closure_id,
async_ret_ty,
body.span,
hir::AsyncGeneratorKind::Closure,
|this| this.with_new_scopes(|this| this.lower_expr(body)),
);
this.expr(fn_decl_span, async_body, ThinVec::new())
});
Expand Down
0