You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[package]
name = "macro_test"version = "0.1.0"authors = []
edition = "2018"
[dependencies]
futures = { version = "0.3", default-features = false, features = ["std", "async-await"] }
tokio = { version = "0.3.6", features = ["time"] }
main.rs:
use futures::future::Fuse;use futures::select;use tokio::time::Sleep;fnmain(){}asyncfn_test(mutx:Fuse<Sleep>,muty:Fuse<Sleep>){select!{() = x => {},() = y => {},}}
Error:
The text was updated successfully, but these errors were encountered:
Tried with 5fe8cb1 (current master).
Cargo.toml:
main.rs:
Error:
The text was updated successfully, but these errors were encountered: