Skip to content

deno 1.27.1 fails to build with rust 1.65.0 #16540

Closed
@ht990332

Description

@ht990332
   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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions