-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Path not accepted in "crate" parameter #10
Comments
Thanks, I would accept a PR to fix this. |
I cannot run into this issue (I am using
|
Fixed in #22 once that gets pulled. |
I am still confused, |
Not a terrible idea, but the difference is essentially: before you could only pass an ident as the crate. For example if inventory is re-exported as
(I think you get the gist) |
Ok I looked into your example and, from what I can tell, I'm getting the same result. It seems like Like I think this was a Rust change at some point to allow passing Maybe rust-lang/rust#56647 ? |
From my tests some time ago (I don't have the examples nearby), Anyway, I believe that #22 should indeed fix that. I don't have the capacity at the moment to test that myself though, but I'd be happy to close this issue if somebody else would check that macro reexport case. |
Okay, so the |
Closing as there is no longer a "crate" parameter in inventory 0.2. |
It seems like the crate name can only be provided as an direct identifier. Trying to use
submit!
in macro_rules in an robust way is impossible as crate cannot be specified correctly.The text was updated successfully, but these errors were encountered: