Closed
Description
#![feature(futures_api)]
pub struct Foo;
impl Foo {
pub async fn foo(&mut self) {
}
}
fn main() {
let mut bar = Foo;
bar.foo();
}
(playground) runs without error, for some reason the async_await
feature gate is not required.
(cc @nikomatsakis @cramertj)