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
cargo build
Compiling remnant v0.1.0 (file:///Users/jay/repos/remnant)
src/main.rs:55:15: 55:33 error: `copperline::Config` does not name a structure [E0422]
src/main.rs:55 let cfg = copperline::Config {
^~~~~~~~~~~~~~~~~~
src/main.rs:55:15: 55:33 help: run `rustc --explain E0422` to see a detailed explanation
src/main.rs:57:15: 57:39 error: failed to resolve. Could not find `EditMode` in `copperline` [E0433]
src/main.rs:57 mode: copperline::EditMode::Vi
^~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:57:15: 57:39 help: run `rustc --explain E0433` to see a detailed explanation
src/main.rs:61:46: 61:50 error: mismatched types:
expected `copperline::Encoding`,
found `&_`
(expected enum `copperline::Encoding`,
found &-ptr) [E0308]
src/main.rs:61 while let Ok(line) = cl.read_line(">> ", &cfg) {
^~~~
src/main.rs:61:46: 61:50 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to previous error
error: Could not compile `remnant`.
Am I somehow getting an older version of the library despite specifying 0.3.0? Without any git tags or knowledge of how cargo publishing works, I can't figure out what git commit 0.3.0 is supposed point to.
The text was updated successfully, but these errors were encountered:
@JayKickliter the 0.3.0 version is from October and it looks like a lot has changed. Use a specific git revision in your Cargo.toml file. I used the current revision of master:
I added copper line as a dependency in my
Cargo.toml
:But when I try to compile the example code:
I get these errors:
Am I somehow getting an older version of the library despite specifying 0.3.0? Without any git tags or knowledge of how cargo publishing works, I can't figure out what git commit 0.3.0 is supposed point to.
The text was updated successfully, but these errors were encountered: