zng/tests/macro-tests/cases/widget_new/missing_value3.rs

12 lines
255 B
Rust

use zng::{layout::margin, mouse::cursor, widget::Wgt, APP};
fn main() {
let _scope = APP.minimal();
let _ = Wgt! {
// we expected an error here.
cursor = ;
// we expect margin to be used here.
margin = 0;
};
}