zng/tests/macro-tests/cases/widget/parent_not_widget.stderr

19 lines
763 B
Plaintext

error[E0277]: the trait bound `f32: WidgetImpl` is not satisfied
--> cases/widget/parent_not_widget.rs:4:16
|
4 | pub struct Foo(f32);
| ^^^ the trait `WidgetImpl` is not implemented for `f32`
|
= help: the following other types implement trait `WidgetImpl`:
<implementers-list>
error[E0277]: the trait bound `f32: WidgetImpl` is not satisfied
--> cases/widget/parent_not_widget.rs:3:1
|
3 | #[widget($crate::Foo)]
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `WidgetImpl` is not implemented for `f32`
|
= help: the following other types implement trait `WidgetImpl`:
<implementers-list>
= note: this error originates in the attribute macro `widget` (in Nightly builds, run with -Z macro-backtrace for more info)