Files
cli/vendor/async-trait/tests/ui/no-attribute-macro.rs

14 lines
163 B
Rust
Raw Normal View History

pub trait Trait {
async fn method(&self);
}
pub struct Struct;
impl Trait for Struct {
async fn method(&self) {}
}
fn main() {
let _: &dyn Trait;
}