splitbits 0.1.2

Concise bit field extraction
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: proc macro panicked
 --> tests/compile_failures/single_arg_splitbits.rs:4:5
  |
4 |     splitbits!(0b11011101);
  |     ^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: splitbits must take at least two arguments: an input value then a template. Found:
          `0b11011101`

error: proc macro panicked
 --> tests/compile_failures/single_arg_splitbits.rs:5:5
  |
5 |     splitbits!("aaabbccc");
  |     ^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: splitbits must take at least two arguments: an input value then a template. Found:
          `"aaabbccc"`