-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
the option Z
is only accepted on the nightly compiler
#113
Comments
Try to run If that doesn't work out, try running it without cargo-expand: add |
This is the command passed to rustc that seems to be causing the issue:
I did not have nightly installed. After installing, expand worked. |
error: the option
Z is only accepted on the nightly compiler
Z
is only accepted on the nightly compiler
Cargo expand requires a reasonably recent nightly compiler installed. As far as I can tell this is working correctly so I'll go ahead and close. If someone believes they have nightly installed and it is not being found, that needs to be reported to https://github.com/gsquire/toolchain_find. |
Would be lovely if |
It's close to a year later, and I have the latest standard compiler, and cargo-expand still requires a nightly compiler build. Are there nightly options that will never make it into the standard compiler? |
I managed to run it without nightly by doing this:
|
@dtolnay the recipe above seems to work without nightly, could it be added into the project's README maybe? |
I am using stable tool chain
I think maybe
cargo expand
failure becuse my crate contain custom derive macro.And I create a crate named
ctest
with default codesrc/main.rs
but
cargo expand
report the same errorThe text was updated successfully, but these errors were encountered: