third_party_rust_syn/dev/README.md
2019-04-29 14:13:30 -07:00

352 B

A little project skeleton for troubleshooting Syn's parsers during development, especially when adding support for new Rust syntax.

Place a sample of the syntax you are working on into main.rs and then run cargo check to try parsing it, revealing the resulting syntax tree or else showing the position and error message if the input fails to parse.