= syn-dissect-closure
Having a closure input in proc macro, you may want to know, which of the inner
locals are captured from the environment.
Most of this code was taken from `serde-closure` crate proc-macro, updated to newer
syn, and then made into a library to perform other tasks.
== TODO
Rename `self` in closure:
Capturing self results in `self` reference in generated closure and pattern with the same name, it should be renamed to `_self` in closure, and then captured as-is.