expandable 0.1.1

What if we could check declarative macros before using them?
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: Potentially invalid expansion. Expected an identifier, `Self`, `crate`, `self`, `super`.
 --> tests/ui/fail/path.rs:6:15
  |
6 |         path:::<foo>
  |               ^

error: Potentially invalid expansion. Expected an identifier, `-`, `>`, `Self`, `_`, `self` or 4 others.
  --> tests/ui/fail/path.rs:13:17
   |
13 |         path::< <foo> >
   |                 ^

error: Potentially invalid expansion. Expected an identifier, `Self`, `crate`, `self`, `super`.
  --> tests/ui/fail/path.rs:20:15
   |
20 |         path::1
   |               ^