blob: 91b98460ccd5b55fc5910127e8fb2d7bc087485b [file] [log] [blame] [view]
David Tolnay18c081f2019-04-29 14:13:30 -07001A little project skeleton for troubleshooting Syn's parsers during development,
2especially when adding support for new Rust syntax.
3
4Place a sample of the syntax you are working on into main.rs and then run `cargo
5check` to try parsing it, revealing the resulting syntax tree or else showing
6the position and error message if the input fails to parse.