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

Qualify all references in macros to avoid name clashes #729

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aschey
Copy link

@aschey aschey commented Feb 25, 2025

This change replaces all unqualified references in macros with a qualified reference from _macro_support to avoid name clashes. I ran into the same issue as this tokio-rs/tracing#3023 with the line! macro.

I went ahead and used a qualified path for any references to core and std out of an abundance of caution since some people do have crates named core (tokio-rs/tracing#2761).

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.

1 participant