mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-22 02:23:05 +00:00
a3169ac17b
Signed-off-by: Torstein Grindvik <torstein.grindvik@nordicsemi.no>
13 lines
249 B
Rust
13 lines
249 B
Rust
// 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"
|
|
}
|
|
};
|
|
}
|