Bug: minitrace-macro expansion adds empty {} and <>
taqtiqa-mark opened this issue · 1 comments
taqtiqa-mark commented
Legacy minitrace-macro
code converts
fn f() {}
into
fn f<>() {
let __guard = minitrace::local::LocalSpan::enter_with_local_parent("f");
{}
}
There are two issues:
- The
__guard
should be inside the block expression - correct? - The superfluous
<>
This arose in the course of writing unit tests for issue #113
taqtiqa-mark commented
Voided by PR #127 rejection.