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: 数字 `0` 不能作为左侧操作数,只能出现在右侧(如 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)