20 lines
270 B
Rust
20 lines
270 B
Rust
#![deny(warnings)]
|
|
|
|
use async_trait::async_trait;
|
|
|
|
#[async_trait]
|
|
pub trait Trait {
|
|
async fn f() {
|
|
unimplemented!()
|
|
}
|
|
}
|
|
|
|
#[async_trait]
|
|
pub trait TraitFoo {
|
|
async fn f() {
|
|
let _y = unimplemented!();
|
|
let _z = _y;
|
|
}
|
|
}
|
|
|
|
fn main() {}
|