batch-impl 0.5.7

A proc-macro library for batch generating trait impls with a powerful DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: batch-impl: trait 实参 `X` 对应形参 `T`(bound `IntoIterator`),自动继承要求同名;请改名为 `T` 或手写 bound
 --> tests/ui/rename_where.rs:6:1
  |
6 | #[batch_impl(<X> A<X> ())]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the attribute macro `batch_impl` (in Nightly builds, run with -Z macro-backtrace for more info)

error: batch-impl: 继承的 where 谓词 `'a : 'b` 引用形参 `'a`,impl 未声明同名参数;请声明 `'a` 或手写 where
  --> tests/ui/rename_where.rs:14:1
   |
14 | #[batch_impl(<'x> B<'x, 'static> ())]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the attribute macro `batch_impl` (in Nightly builds, run with -Z macro-backtrace for more info)