-
Notifications
You must be signed in to change notification settings - Fork 52
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 of undeclared crate or module proc_macro
#57
Comments
This is weird. When I try to run this command (paths adjusted): rustc --edition=2018 \
--crate-name typed_builder \
/home/idanarye/.cargo/registry/src/github.com-1ecc6299db9ec823/typed-builder-0.9.0/src/lib.rs \
--color always \
--crate-type proc-macro \
--emit=dep-info,link \
-C prefer-dynamic \
-C debuginfo=2 \
-C metadata=72ebad225c590f6d \
-C extra-filename=-72ebad225c590f6d \
--out-dir /tmp/ \
-L dependency=/media/d/Programming/Projects/rust-typed-builder/target/debug/deps/ \
--extern /home/idanarye/.cargo/registry/src/github.com-1ecc6299db9ec823/typed-builder-0.9.0/target/debug/deps/libproc_macro2-5c21d599c997d506.rlib \
--extern /home/idanarye/.cargo/registry/src/github.com-1ecc6299db9ec823/typed-builder-0.9.0/target/debug/deps/libquote-5643644f696ec073.rlib \
--extern /home/idanarye/.cargo/registry/src/github.com-1ecc6299db9ec823/typed-builder-0.9.0/target/debug/deps/libsyn-aa7c69dcc752b5dd.rlib \
--cap-lints allow I get a long list of complaints about not finding rustc --edition=2018 \
--crate-name typed_builder \
/home/idanarye/.cargo/registry/src/github.com-1ecc6299db9ec823/typed-builder-0.9.0/src/lib.rs \
--color always \
--crate-type proc-macro \
--emit=dep-info,link \
-C prefer-dynamic \
-C debuginfo=2 \
-C metadata=72ebad225c590f6d \
-C extra-filename=-72ebad225c590f6d \
--out-dir /tmp/ \
-L dependency=/media/d/Programming/Projects/rust-typed-builder/target/debug/deps/ \
--extern proc_macro2=/home/idanarye/.cargo/registry/src/github.com-1ecc6299db9ec823/typed-builder-0.9.0/target/debug/deps/libproc_macro2-5c21d599c997d506.rlib \
--extern quote=/home/idanarye/.cargo/registry/src/github.com-1ecc6299db9ec823/typed-builder-0.9.0/target/debug/deps/libquote-5643644f696ec073.rlib \
--extern syn=/home/idanarye/.cargo/registry/src/github.com-1ecc6299db9ec823/typed-builder-0.9.0/target/debug/deps/libsyn-aa7c69dcc752b5dd.rlib \
--cap-lints allow And now I only get complaints about But... An
Seems to fix this. Which is very weird, because the 2018 edition should mean we don't need to declare |
Thank you for fixing this! Care to cut a release please? |
Already have |
Seems like this is happening again in lycheeverse/lychee#346, I think they could use some help, I don't understand what's going on - maybe you do @idanarye? |
Trying to use dry run in lycheeverse/lychee#304 seeing this:
Ideas?
The text was updated successfully, but these errors were encountered: