error[E0277]: capability `Metrics` is not in this effect's environment
--> tests/ui/fail/missing_capability.rs:14:14
|
14 | let m = ~Metrics;
| ^^^^^^^ `Metrics` is required here
|
= help: the trait `Selector<Metrics, There<There<_>>>` is not implemented for `HCons<Db, HCons<Logger, HNil>>`
= note: add `Metrics` to the effect's `caps!(..)`, or remove it with `.provide(..)` / `.provide_env(..)` before running
help: the trait `Selector<T, Here>` is implemented for `HCons<T, Tl>`
--> src/capability/hlist.rs
|
| impl<T, Tl> Selector<T, Here> for HCons<T, Tl> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^