brundonsmith / rust_lisp

A Rust-embeddable Lisp, with support for interop with native Rust functions
234 stars 20 forks source link

the trait `std::error::Error` is not implemented for `rust_lisp::parser::ParseError` #37

Open Atreyagaurav opened 8 months ago

Atreyagaurav commented 8 months ago

As the title says.

The error I got was

error[E0277]: the trait bound `rust_lisp::parser::ParseError: std::error::Error` is not satisfied

While trying to use anyhow::Error as return type and use ? on the parser.