blob: 8e55a3c5618925c950e17938ab5edf604fcb75d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error[E0277]: `()` doesn't implement `std::fmt::Display`
--> tests/ui/deserialize_try_from_error_not_display.rs:4:18
|
4 | #[nix(try_from = "u64")]
| ^^^^^ `()` 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`
|