You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not familiar with the code base but it looks like an omission since other macros handle it [0], but not here [1], and it's not explicitly mentioned that x128 are not handled here [2]. I also can't find any reports mentioning u128 or i128 at this time except [3] which does not look relevant in regards to tracing these types.
Linux XXXX 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Description
error[E0277]: the trait bound `u128: tracing::Value` is not satisfied
--> src/x.rs:y:z
|
240 | debug!(x, "message");
| ^^^^^^^^^^^^^^^^^^^^ the trait `tracing::Value` is not implemented for `u128`
|
= note: required for the cast to the object type `dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0277`.
The text was updated successfully, but these errors were encountered:
Bug Report
Missing implementation for u128.
I'm not familiar with the code base but it looks like an omission since other macros handle it [0], but not here [1], and it's not explicitly mentioned that x128 are not handled here [2]. I also can't find any reports mentioning u128 or i128 at this time except [3] which does not look relevant in regards to tracing these types.
Best,
[0] https://docs.rs/tracing-core/0.1.21/src/tracing_core/field.rs.html#316
[1] https://docs.rs/tracing-core/0.1.21/src/tracing_core/field.rs.html#396
[2] https://docs.rs/tracing/latest/tracing/trait.Value.html
[3] #473
Version
Platform
Linux XXXX 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Description
The text was updated successfully, but these errors were encountered: