zng/tests/macro-tests/cases/widget_new/missing_value1.stderr

21 lines
555 B
Plaintext

error[E0061]: this method takes 1 argument but 0 arguments were supplied
--> cases/widget_new/missing_value1.rs:6:9
|
5 | let _ = Wgt! {
| _____________-
6 | | margin = ;
| | ^^^^^^
7 | | };
| |_____- an argument is missing
|
note: method defined here
--> $WORKSPACE/crates/zng-wgt/src/layout_props.rs
|
| pub fn margin(child: impl UiNode, margin: impl IntoVar<SideOffsets>) -> impl UiNode {
| ^^^^^^
help: provide the argument
--> $WORKSPACE/crates/zng-wgt/src/wgt.rs
|
| margin(/* margin */)
|