Skip to content

Compiling the project using html5ever results in an error, version 0.29.1 #630

@sopaco

Description

@sopaco

Compiling the project using html5ever results in an error, version 0.29.1

error[E0599]: no method named `allow_declarative_shadow_roots` found for type parameter `Sink` in the current scope
    --> /Users/jiangmeng/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html5ever-0.29.1/src/tree_builder/mod.rs:1400:23
     |
606  | impl<Handle, Sink> TreeBuilder<Handle, Sink>
     |              ---- method `allow_declarative_shadow_roots` not found for this type parameter
...
1400 |             self.sink.allow_declarative_shadow_roots(&intended_parent);
     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Sink`
[[package]]
name = "html5ever"
version = "0.29.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b7410cae13cbc75623c98ac4cbfd1f0bedddf3227afc24f370cf0f50a44a11c"
dependencies = [
 "log",
 "mac",
 "markup5ever",
 "match_token",
]

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