Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAttempting to use embed_migrations without macro_use does not compile on Rust 1.30 #1894
Comments
vmalloc
changed the title from
Attempting to use embed_migrations fails on Rust 1.30
to
Attempting to use embed_migrations without macro_use fails on Rust 1.30
Oct 25, 2018
vmalloc
changed the title from
Attempting to use embed_migrations without macro_use fails on Rust 1.30
to
Attempting to use embed_migrations without macro_use does not compile on Rust 1.30
Oct 25, 2018
This comment has been minimized.
|
You will need to continue to use |
sgrif
closed this
Oct 25, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vmalloc commentedOct 25, 2018
In Rust 1.30 (pre-release build),
#[macro_use]is no longer required when importing macros by name. However, it is unclear how to make this work withembed_migrations!, since the following doesn't compile:The above fails to compile with:
It is possible that I'm missing something - if so I would love to learn how to do this correctly.
Thanks in advance!
Versions