You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the src folder in .cargo/registry, nickel_session@0.1.0 is dependent on nickel@0.8 which is dependent on mustache@0.6. 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 nickel@0.10 should do the trick.
According to the
src
folder in.cargo/registry
,nickel_session@0.1.0
is dependent onnickel@0.8
which is dependent onmustache@0.6
. Therefore, trying tocargo check
a project that relies on it will give the following error message :Modifying the dependency to
nickel@0.10
should do the trick.Information on my setup:
The text was updated successfully, but these errors were encountered: