Closed slinkydeveloper closed 2 years ago
Good catch! Would you like to send a PR to fix it?
Hi @BusyJay, here is the PR: https://github.com/tikv/fail-rs/pull/66
Hi @BusyJay, is there any plan to release a new version of this crate? There's a bunch of fixes since the last release :)
Thank you @BusyJay for the release!
Describe the bug Cannot use full name qualification for
fail_point!
macro in the 3 arguments caseTo Reproduce Just try to compile:
And you'll get:
Expected behavior You should be able to use the macro without importing it with
use
Additional context Looks like the issue is here: https://github.com/tikv/fail-rs/blob/6645f1767b4d0adbe454a07c25e30224b1b08dbd/src/lib.rs#L841
The recursive macro invocation should look like this: