Skip to content

tachys: overflow error #206

Closed
Closed
@lcnr

Description

@lcnr

[INFO] [stdout] error[E0275]: overflow evaluating the requirement `<ViewTemplate<V> as AddAnyAttr>::Output<NewAttr>: RenderHtml`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tachys-0.1.0/src/view/template.rs:63:32
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Self::Output<NewAttr>: RenderHtml,
[INFO] [stdout]    |                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the requirement `<ViewTemplate<V> as AddAnyAttr>::Output<NewAttr>: RenderHtml` appears on the `impl`'s method `add_any_attr` but not on the corresponding trait's method
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tachys-0.1.0/src/view/add_attr.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait AddAnyAttr {
[INFO] [stdout]    |           ---------- in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn add_any_attr<NewAttr: Attribute>(
[INFO] [stdout]    |        ^^^^^^^^^^^^ this trait's method doesn't have the requirement `<ViewTemplate<V> as AddAnyAttr>::Output<NewAttr>: RenderHtml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0275]: overflow evaluating the requirement `<ViewTemplate<V> as AddAnyAttr>::Output<NewAttr> == _`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tachys-0.1.0/src/view/template.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 |     ) -> Self::Output<NewAttr>
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0275]: overflow evaluating the requirement `<ViewTemplate<V> as AddAnyAttr>::Output<NewAttr>: RenderHtml`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tachys-0.1.0/src/view/template.rs:63:32
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Self::Output<NewAttr>: RenderHtml,
[INFO] [stdout]    |                                ^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    from-craterA regression found via a crater run, not part of our test suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions