boring-derive 0.1.1

Derive macros for some common patterns
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: prefix must be a string not `1`
 --> tests/builder/prefix_non_string.rs:4:11
  |
4 | #[builder(prefix = 1)]
  |           ^^^^^^^^^^

error[E0599]: no method named `set_item` found for struct `Example` in the current scope
  --> tests/builder/prefix_non_string.rs:10:33
   |
5  | struct Example {
   | -------------- method `set_item` not found for this struct
...
10 |     let ex = Example::default().set_item("balls");
   |                                 ^^^^^^^^ method not found in `Example`