summaryrefslogtreecommitdiffstats
path: root/vendor/darling-0.14.4/tests/compile-fail/skip_field_not_impl_default.stderr
blob: de46982c24dbc9bb6c66e7608f59dbfdc511cfc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0277]: the trait bound `NoDefault: std::default::Default` is not satisfied
 --> tests/compile-fail/skip_field_not_impl_default.rs:8:15
  |
8 |     #[darling(skip)]
  |               ^^^^ the trait `std::default::Default` is not implemented for `NoDefault`
  |
help: consider annotating `NoDefault` with `#[derive(Default)]`
  |
4 | #[derive(Default)]
  |

error[E0277]: the trait bound `NoDefault: std::default::Default` is not satisfied
  --> tests/compile-fail/skip_field_not_impl_default.rs:11:22
   |
11 |     #[darling(skip = true)]
   |                      ^^^^ the trait `std::default::Default` is not implemented for `NoDefault`
   |
help: consider annotating `NoDefault` with `#[derive(Default)]`
   |
4  | #[derive(Default)]
   |