-
Notifications
You must be signed in to change notification settings - Fork 330
Closed
Description
Question
Environment:
os: Ubuntu 18.04
rust version: rustc 1.38.0-nightly (4b65a86eb 2019-07-15
Problem:
Compiling tide v0.2.0
error[E0658]: async closures are unstable
--> /home/wpf/.cargo/registry/src/github.com-1ecc6299db9ec823/tide-0.2.0/src/app.rs:312:28
|
312 | router.at("/").get(async move |_| "/");
| ^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/62290
= help: add `#![feature(async_closure)]` to the crate attributes to enable
Additional context
I had tried as compiler prompt but it not works.
#![feature(async_closure)]
fn main() {
println!("Hello, world!");
}
Metadata
Metadata
Assignees
Labels
No labels