delegate-attr 0.3.0

Attribute proc-macro to delegate method to a field
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: expected one of `!` or `::`, found `}`
 --> $DIR/invalid-impl.rs:8:1
  |
6 | impl Foo {
  |          - while parsing this item list starting here
7 |     x
  |      - expected one of `!` or `::`
8 | }
  | ^
  | |
  | unexpected token
  | the item list ends here

error: invalid impl block for #[delegate]
 --> $DIR/invalid-impl.rs:6:1
  |
6 | impl Foo {
  | ^^^^