build!
macro doesn't have the same syntax as use statements
#699
Labels
enhancement
New feature or request
build!
macro doesn't have the same syntax as use statements
#699
The
build!
macro docs say this:However, this fails to compile:
with the following error message:
The following does compile however:
I expect the first one to compile because that's how Rust use paths work.
The error message about not finding the namespace is confusing too.
For context, I ran into this issue when trying to use
build!
like this:The text was updated successfully, but these errors were encountered: