-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test cases: #[trace] async fn a(mut b) #112
Comments
I believe the issue comes from this statement, although I haven't had a machine to test it now: minitrace-rust/minitrace-macro/src/lib.rs Line 268 in ede1ec5
And frankly speaking, I don't know why this statement is here 🤣 because it's all copy-and-pasted from crate async-trait. I guess it's an async-trait specific constraint and we can simply remove it. |
|
Close issue tikv#112. Per the comment of @andylokandy this appears to be a residual carried over from the async-trait crate code. Signed-off-by: Mark Van de Vyver <[email protected]>
Closed by PR #119 |
Signed-off-by: Mark Van de Vyver <[email protected]>
gives this error, which is resolved per this comment:
Remove the
trace
macro and the error goes away.For anyone caught out, until a fix lands, the workaround should have no performance impact (should be optimized by the compiler):
Note the synchronous version appears to survive intact:
Test cases related to issue #81.
The text was updated successfully, but these errors were encountered: