error[E0277]: the trait bound `String: ToTelemetry` is not satisfied
--> tests/ui/derive_fail_raw_string.rs:3:10
|
3 | #[derive(ToTelemetry)]
| ^^^^^^^^^^^ the trait `ToTelemetry` is not implemented for `String`
|
= help: the following other types implement trait `ToTelemetry`:
&T
BTreeMap<K, V>
BTreeSet<T>
Box<T>
IpAddr
Ipv4Addr
Ipv6Addr
NonZero<i128>
and $N others
note: required by a bound in `telemetry_debug`
--> $WORKSPACE/crates/telemetry-safe-core/src/lib.rs
|
| pub fn telemetry_debug<T: ToTelemetry + ?Sized>(value: &T) -> TelemetryDebug<'_, T> {
| ^^^^^^^^^^^ required by this bound in `telemetry_debug`
= note: this error originates in the derive macro `ToTelemetry` (in Nightly builds, run with -Z macro-backtrace for more info)