Skip to content
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

error: Option 'color' given more than once #53

Closed
flying-sheep opened this issue Mar 30, 2019 · 1 comment
Closed

error: Option 'color' given more than once #53

flying-sheep opened this issue Mar 30, 2019 · 1 comment

Comments

@flying-sheep
Copy link

flying-sheep commented Mar 30, 2019

$ cargo expand --lib rst::document_tree::extra_attributes
    Checking rst v0.2.0 (/home/phil/Dev/Rust/rust-rst)
error: Option 'color' given more than once
error: Could not compile `rst`.
To learn more, run the command again with --verbose.

and indeed, when specifying --verbose I see:

 process didn't exit successfully:
`rustc --edition=2018 --crate-name rst src/lib.rs --color never \
  --crate-type lib --emit=dep-info,metadata -C debuginfo=2 \
  'rst::document_tree::extra_attributes' --color=always -- \
  -o /tmp/cargo-expandbDlv5A/expanded \
  [...]
@flying-sheep
Copy link
Author

whoops, used an old version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant