batch-impl 0.7.2

A proc-macro library for batch generating trait impls with a powerful DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error: batch-impl: unknown @ constant `@unknown`; built-ins: `@u*` `@i*` `@f*` `@num` `@scalar` and ranges `@u8..u128` `@i8..i128` `@f32..f64`; user constants must be defined before the reference (defining them later has no effect)
 --> 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`