batch-impl 0.6.4

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
16
17
18
error[E0428]: the name `T` is defined multiple times
 --> tests/ui/num_as_left_operand.rs:8:1
  |
4 | trait T {}
  | ------- previous definition of the trait `T` here
...
8 | trait T {}
  | ^^^^^^^ `T` redefined here
  |
  = note: `T` must be defined only once in the type namespace of this module

error: batch-impl: number `0` cannot be a left operand; use it on the right (e.g. T^0)
 --> tests/ui/num_as_left_operand.rs:7:1
  |
7 | #[batch_impl(0^T)]
  | ^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the attribute macro `batch_impl` (in Nightly builds, run with -Z macro-backtrace for more info)