Skip to content

Cannot compile with --no-default-features #11354

@ahaoboy

Description

@ahaoboy
cargo add swc_ecma_parser --no-default-features

cargo build

error[E0599]: no method named `parse_ts_type_args` found for mutable reference `&mut parser::Parser<I>` in the current scope
error[E0599]: no method named `parse_ts_interface_decl` found for mutable reference `&mut parser::Parser<I>` in the current scope

...
swc_ecma_parser = { version = "29.0.0", default-features = false }

Metadata

Metadata

Assignees

No one assigned

    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