-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Use $crate
instead of ::solana_sdk
in declare_name!
macro
#10933
Comments
Aaron1011
added a commit
to Aaron1011/solana
that referenced
this issue
Aug 1, 2020
Fixes solana-labs#10933 Now that rust-lang/rust#72121 has been merged, using a `$crate` path from a nested `macro_rules!` will work properly across multiple crates. This allows us to update to a nightly build containing this PR, and stop using `::solana_sdk` to refer to the `respan!` macro.
Aaron1011
added a commit
to Aaron1011/solana
that referenced
this issue
Aug 4, 2020
Fixes solana-labs#10933 Now that rust-lang/rust#72121 has been merged, using a `$crate` path from a nested `macro_rules!` will work properly across multiple crates. This allows us to stop using `::solana_sdk` to reference to the `respan!` macro.
Aaron1011
added a commit
to Aaron1011/solana
that referenced
this issue
Aug 18, 2020
Fixes solana-labs#10933 Now that rust-lang/rust#72121 has been merged, using a `$crate` path from a nested `macro_rules!` will work properly across multiple crates. This allows us to stop using `::solana_sdk` to reference to the `respan!` macro.
mergify bot
pushed a commit
that referenced
this issue
Aug 18, 2020
Fixes #10933 Now that rust-lang/rust#72121 has been merged, using a `$crate` path from a nested `macro_rules!` will work properly across multiple crates. This allows us to stop using `::solana_sdk` to reference to the `respan!` macro.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #10905, I needed to use
::solana_sdk
as a path in a macro, since a rustc issue prevents$crate
from working properly. Once rust-lang/rust#72121 is merged, we can switch to using$crate
The text was updated successfully, but these errors were encountered: