blob: 8283ed5340f3f6c7205be4a7a27191cc514f0e8c (
plain) (
tree)
|
|
error[E0277]: `()` doesn't implement `std::fmt::Display`
--> tests/ui/deserialize_from_str_error_not_display.rs:6:7
|
6 | #[nix(from_str)]
| ^^^^^^^^ `()` cannot be formatted with the default formatter
|
= help: the trait `std::fmt::Display` is not implemented for `()`
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
note: required by a bound in `invalid_data`
--> $WORKSPACE/nix-compat/src/nix_daemon/de/mod.rs
|
| fn invalid_data<T: fmt::Display>(msg: T) -> Self {
| ^^^^^^^^^^^^ required by this bound in `Error::invalid_data`
|