leptos icon indicating copy to clipboard operation
leptos copied to clipboard

Add compile error when using comment and doctype tags within the `view!` macro

Open thinety opened this issue 4 months ago • 2 comments

Discussed in https://github.com/leptos-rs/leptos/issues/2338.

Preview of the error messages: image

The first commit contains just style changes (using proc_macro_error::abort! everywhere instead of just abort!, to be consistent with proc_macro_error::emit_error!), so it can be reverted if desired.

thinety avatar Feb 22 '24 21:02 thinety