error: batch-impl: unknown @ constant `@unknown`; built-ins: `@u*` `@i*` `@f*` `@num` `@scalar` and ranges `@u8..u128` `@i8..i128` `@f32..f64`
--> tests/ui/const_unknown.rs:3:1
|
3 | #[batch_impl(@unknown)]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= 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/const_unknown.rs:4:13
|
4 | trait Bad {}
| ^ consider adding a `main` function to `$DIR/tests/ui/const_unknown.rs`