error: batch-impl: constant `@a` references unknown `@b` (undefined or defined later; inside a constant definition, only built-in constants or previously defined constants can be referenced)
--> tests/ui/const_forward.rs:4:1
|
4 | / batch_trait!(
5 | | @a=@b;
6 | | @b=[u8];
7 | | T: @a;
8 | | );
| |_^
|
= note: this error originates in the macro `batch_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0601]: `main` function not found in crate `$CRATE`
--> tests/ui/const_forward.rs:8:3
|
8 | );
| ^ consider adding a `main` function to `$DIR/tests/ui/const_forward.rs`