This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
10b08e3c9c
rust
/
tests
/
ui
/
async-await
/
issues
/
issue-61187.rs
8 lines
104 B
Rust
Raw
Normal View
History
Unescape
Escape
rustc: async fn drop order lowering in HIR This commit re-implements the async fn drop order lowering changes so that it all takes place in HIR lowering, building atop the work done by `@eddyb` to refactor `Res::Upvar`. Previously, this types involved in the lowering were constructed in libsyntax as they had to be used during name resolution and HIR lowering. This was awful because none of that logic should have existed in libsyntax. This commit also changes `ArgSource` to keep a `HirId` to the original argument pattern rather than a cloned copy of the pattern.
2019-05-29 11:28:51 -05:00
// edition:2018
Remove async_await gates from tests.
2019-08-01 20:45:58 -05:00
fn
main
(
)
{
}
rustc: async fn drop order lowering in HIR This commit re-implements the async fn drop order lowering changes so that it all takes place in HIR lowering, building atop the work done by `@eddyb` to refactor `Res::Upvar`. Previously, this types involved in the lowering were constructed in libsyntax as they had to be used during name resolution and HIR lowering. This was awful because none of that logic should have existed in libsyntax. This commit also changes `ArgSource` to keep a `HirId` to the original argument pattern rather than a cloned copy of the pattern.
2019-05-29 11:28:51 -05:00
async
fn
response
(
data
:
Vec
<
u8
>
)
{
data
.
reverse
(
)
;
//~ ERROR E0596
}
Reference in New Issue
Copy Permalink