Skip to content
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

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

Merged
merged 1 commit into from Apr 21, 2024

Conversation

narpfel
Copy link
Contributor

@narpfel narpfel commented Apr 18, 2024

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.

@narpfel narpfel force-pushed the no-rstest_reuse-in-crate-root branch from eed720c to 91e70e9 Compare April 18, 2024 16:09
Copy link
Owner

@la10736 la10736 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, Thx!!!

This case is a classic example of a Proof of Concept that's landed in production. 😄

@la10736 la10736 merged commit 8eec79d into la10736:master Apr 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants