error: expected `view!` macro invocation --> tests/ui/compile-fail/factory-component-empty.rs:7:1 | 7 | / impl FactoryComponent for TestFactoryComponent { 8 | | 9 | | } | |_^ error[E0046]: not all trait items implemented, missing: `ParentWidget`, `CommandOutput`, `Input`, `Output`, `Init`, `Root`, `init_model`, `init_root`, `init_widgets` --> tests/ui/compile-fail/factory-component-empty.rs:7:1 | 7 | impl FactoryComponent for TestFactoryComponent { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `ParentWidget`, `CommandOutput`, `Input`, `Output`, `Init`, `Root`, `init_model`, `init_root`, `init_widgets` in implementation | = help: implement the missing item: `type ParentWidget = /* Type */;` = help: implement the missing item: `type CommandOutput = /* Type */;` = help: implement the missing item: `type Input = /* Type */;` = help: implement the missing item: `type Output = /* Type */;` = help: implement the missing item: `type Init = /* Type */;` = help: implement the missing item: `type Root = /* Type */;` = help: implement the missing item: `fn init_model(_: ::Init, _: &::Index, _: FactorySender) -> Self { todo!() }` = help: implement the missing item: `fn init_root(&self) -> ::Root { todo!() }` = help: implement the missing item: `fn init_widgets(&mut self, _: &::Index, _: ::Root, _: &<::ParentWidget as FactoryView>::ReturnedWidget, _: FactorySender) -> ::Widgets { todo!() }`