error: batch-impl: 嵌套深度超过 128 层(可能是不小心多写了一层括号)
--> tests/ui/deep_nesting.rs:3:1
|
3 | #[batch_impl([[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[...]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]])]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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/deep_nesting.rs:4:21
|
4 | trait DeepNesting {}
| ^ consider adding a `main` function to `$DIR/tests/ui/deep_nesting.rs`