error: expected `Type::new(..)`: the path must name a type and an associated constructor - a free function does not expose its type to the macro
--> tests/ui/subscriber_source_free_function.rs:15:14
|
15 | #[subscriber(stream("orders"))]
| ^^^^^^
warning: unused import: `ruststream::runtime::HandlerOutcome`
--> tests/ui/subscriber_source_free_function.rs:1:5
|
1 | use ruststream::runtime::HandlerOutcome;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default