This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
e53d6dd35bb38b81dff4b00497f4c152e9009499
rust
/
tests
/
ui
/
async-await
/
no-params-non-move-async-closure.rs
9 lines
103 B
Rust
Raw
Normal View
History
Unescape
Escape
add edition compiletest header + fix tests
2018-06-25 22:04:08 -05:00
// edition:2018
Async closures will move params into the future always
2024-01-14 23:12:46 +00:00
// check-pass
async await desugaring and tests
2018-06-06 15:50:59 -07:00
Remove async_await gates from tests.
2019-08-02 03:45:58 +02:00
#![
feature(async_closure)
]
async await desugaring and tests
2018-06-06 15:50:59 -07:00
fn
main
(
)
{
let
_
=
async
|
x
:
u8
|
{
}
;
}
Reference in New Issue
Copy Permalink