Skip to content

could not find compile_error in $crate #501

@JeanMertz

Description

@JeanMertz

When compiling an invalid html! implementation, the compiler wants to show a detailed error message, but is unable to do so:

error[E0433]: failed to resolve: could not find `compile_error` in `$crate`
  --> myapp/src/lib.rs:26:9
   |
26 | /         html! {
27 | |             <div>Woohoo</div>
28 | |             <table></table>
29 | |         }
   | |_________^ could not find `compile_error` in `$crate`

This seems to be similar to rust-bakery/nom#862, which was fixed in rust-bakery/nom@34df620.

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