Closed
Description
Compiling test_util v0.1.0 (/home/hussam/cache/system/deno/src/deno/test_util)
error[E0277]: the trait bound `LiteralDef: std::cmp::Eq` is not satisfied
--> /home/hussam/.cargo/registry/src/6github.com-1ecc6299db9ec823/deno_doc-0.48.0/src/ts_type.rs:980:3
|
969 | #[derive(Debug, Default, Serialize, Deserialize, Clone, PartialEq, Eq)]
| -- in this derive macro expansion
...
980 | pub literal: Option<LiteralDef>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `LiteralDef`
|
= help: the trait `std::cmp::Eq` is implemented for `std::option::Option<T>`
= note: required for `std::option::Option<LiteralDef>` to implement `std::cmp::Eq`
note: required by a bound in `AssertParamIsEq`
= note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0277`.
error: could not compile `deno_doc` due to previous error
Metadata
Metadata
Assignees
Labels
No labels