error[E0038]: the trait `cmds::EscCode` cannot be made into an object
--> /home/seunlanlege/.cargo/git/checkouts/notty-encoding-26bc718f9ba2caca/ba5daba/src/client.rs:6:5
|
6 | fn write(&mut self, &EscCode) -> io::Result<()>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `cmds::EscCode` cannot be made into an object
|
= note: the trait cannot contain associated consts like `OPCODE`
error[E0038]: the trait `cmds::EscCode` cannot be made into an object
--> /home/seunlanlege/.cargo/git/checkouts/notty-encoding-26bc718f9ba2caca/ba5daba/src/client.rs:12:5
|
12 | fn write(&mut self, code: &EscCode) -> io::Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `cmds::EscCode` cannot be made into an object
|
= note: the trait cannot contain associated consts like `OPCODE`
error: aborting due to 2 previous errors
error: Could not compile `notty-encoding`.
warning: build failed, waiting for other jobs to finish...
error: build failed
rustc version
rustc 1.22.0-nightly (f1b5225e8 2017-10-01)
Joyful compiler errors
rustc version
rustc 1.22.0-nightly (f1b5225e8 2017-10-01)