Skip to content

Commit 133c774

Browse files
committed
Add regression test for issue 9
1 parent a93ce20 commit 133c774

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,13 @@ mod issue2 {
148148
}
149149
}
150150
}
151+
152+
// https://github.com/dtolnay/async-trait/issues/9
153+
mod issue9 {
154+
use async_trait::async_trait;
155+
156+
#[async_trait]
157+
pub trait Issue3: Sized + Send {
158+
async fn f(_x: Self) {}
159+
}
160+
}

0 commit comments

Comments
 (0)