Files
alkane-toolkit/vendor/async-trait/tests/ui/no-attribute-macro.rs
T

14 lines
163 B
Rust

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