dioxus/packages/core-macro/tests/rsx/trailing-comma-0.rs

14 lines
249 B
Rust
Raw Normal View History

// Given an `rsx!` invocation with a missing trailing comma,
// ensure the stderr output has an informative span.
use dioxus::prelude::*;
fn main() {
rsx! {
p {
class: "foo bar"
"Hello world"
}
};
}