blob: 5cc2f5974e4c7481e45c119953881cbe77b27f64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0277]: the trait bound `Value: Default` is not satisfied
--> tests/ui/deserialize_missing_default.rs:6:10
|
6 | #[derive(NixDeserialize)]
| ^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Value`
|
= note: this error originates in the derive macro `NixDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider annotating `Value` with `#[derive(Default)]`
|
4 + #[derive(Default)]
5 | pub struct Value(String);
|
|