struct_cache_field 0.0.2

Proc macro for caching method to struct field
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: type name conflicted, cache fields arleady registered. maybe someone forgot to add `#[struct_cache_field::add_cache_field]`?
  --> tests/ui/fail_modules.rs:12:10
   |
12 |     impl Hoge {
   |          ^^^^

error[E0412]: cannot find type `Hoge` in this scope
 --> tests/ui/fail_modules.rs:3:10
  |
3 |     impl Hoge {
  |          ^^^^ not found in this scope
  |
help: consider importing this struct
  |
2 +     use crate::module2::Hoge;
  |