error[E0277]: the trait bound `Buckets: From<&str>` is not satisfied --> tests/ui/metrics/bogus_buckets.rs:6:25 | 6 | #[metrics(buckets = "42")] | ^^^^ the trait `From<&str>` is not implemented for `Buckets`, which is required by `&str: Into` 7 | histogram: Histogram, | --------- required by a bound introduced by this call | = help: the trait `From<&'static [f64; _]>` is implemented for `Buckets` = help: for that trait implementation, expected `[f64; _]`, found `str` = note: required for `&str` to implement `Into` note: required by a bound in `MetricBuilder::<(), L>::with_buckets` --> src/builder.rs | | pub fn with_buckets(self, buckets: impl Into) -> MetricBuilder { | ^^^^^^^^^^^^^ required by this bound in `MetricBuilder::<(), L>::with_buckets`