error[E0599]: no associated function or constant named `connect` found for struct `Database` in the current scope
--> tests/ui/missing_constructor_fn.rs:4:25
|
4 | #[service(constructor = connect)]
| ^^^^^^^ associated function or constant not found in `Database`
5 | struct Database;
| --------------- associated function or constant `connect` not found for this struct