error: batch-impl: #blanket 的 `:abc` 后必须是数字(如 `Box^Arc:2`)
--> tests/ui/blanket_bad_depth.rs:3:1
|
3 | #[batch_impl(#blanket(@all){Box:abc})]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `batch_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0601]: `main` function not found in crate `$CRATE`
--> tests/ui/blanket_bad_depth.rs:6:2
|
6 | }
| ^ consider adding a `main` function to `$DIR/tests/ui/blanket_bad_depth.rs`