Compiling common v0.1.0 (/home/jayvdb/.cargo/git/checkouts/checkmark-1d55bf54c1738298/55ae29c/src/common)
error[E0308]: mismatched types
--> src/common/src/lib.rs:645:5
|
637 | pub fn parse(source: &str) -> Result<markdown::mdast::Node, String> {
| ------------------------------------- expected `std::result::Result<markdown::mdast::Node, std::string::String>` because of return type
...
645 | markdown::to_mdast(source, &options)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Node, String>`, found `Result<Node, Message>`
|
= note: expected enum `std::result::Result<_, std::string::String>`
found enum `std::result::Result<_, markdown::message::Message>`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `common` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...