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

Update nickel dependency version #5

Open
Voltra opened this issue Dec 24, 2018 · 0 comments
Open

Update nickel dependency version #5

Voltra opened this issue Dec 24, 2018 · 0 comments

Comments

@Voltra
Copy link

Voltra commented Dec 24, 2018

According to the src folder in .cargo/registry, [email protected] is dependent on [email protected] which is dependent on [email protected]. Therefore, trying to cargo check a project that relies on it will give the following error message :

error: enum is private and its variants cannot be re-exported
  --> <cargo registry path>\mustache-0.6.3\src\parser.rs:4:9
   |
4  | pub use self::ParserState::*;
   |         ^^^^^^^^^^^^^^^^^^^^
...
43 | enum ParserState { TEXT, OTAG, TAG, CTAG }
   | ---------------- help: consider making the enum public: `pub enum ParserState`

error: enum is private and its variants cannot be re-exported
  --> <cargo registry path>\mustache-0.6.3\src\parser.rs:5:9
   |
5  | pub use self::TokenClass::*;
   |         ^^^^^^^^^^^^^^^^^^^
...
18 | enum TokenClass {
   | --------------- help: consider making the enum public: `pub enum TokenClass`

   Compiling gdi32-sys v0.2.0
error: aborting due to 2 previous errors

error: Could not compile `mustache`.

Modifying the dependency to [email protected] should do the trick.

Information on my setup:

#rustc --version --verbose
rustc 1.32.0-nightly (4a45578bc 2018-12-07)
binary: rustc
commit-hash: 4a45578bc58ff262864f72680cc02e83f5d2f5b3
commit-date: 2018-12-07
host: x86_64-pc-windows-msvc
release: 1.32.0-nightly
LLVM version: 8.0

#cargo --version --verbose
cargo 1.32.0-nightly (5e85ba14a 2018-12-02)
release: 1.32.0
commit-hash: 5e85ba14aaa20f8133863373404cb0af69eeef2c
commit-date: 2018-12-02
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