la10736 / rstest

Fixture-based test framework for Rust
Apache License 2.0
1.21k stars 43 forks source link

No longer require `rstest_reuse` to be imported explicitly into the crate root #244

Closed narpfel closed 7 months ago

narpfel commented 7 months ago

I think using $crate is not correct here: It requires an otherwise unneeded use rstest_reuse; in the crate root. Using a leading :: guarantees that ::rstest_reuse is resolved to the rstest_reuse crate and not some name declared in the current crate.