Commit b77d0d5
committed
Add regression test for issue 283
error[E0276]: impl has stricter requirements than trait
--> tests/test.rs:1699:5
|
1692 | async fn a();
| ------------- definition of `a` from trait
...
1699 | #[async_trait]
| ^^^^^^^^^^^^^^ impl has extra requirement `T: 'async_trait`
|
= note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info)1 parent 4c8406d commit b77d0d5
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1683 | 1683 | | |
1684 | 1684 | | |
1685 | 1685 | | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
0 commit comments