Skip to content

Build fails #4

@jayvdb

Description

@jayvdb
   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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions