third_party_rust_syn/dev
David Tolnay 5b351e5a82
Emit main in dev crate whether or not there is error
Hides an unnecessary extra error:

    error[E0601]: `main` function not found in crate `syn_dev`
      |
      = note: consider adding a `main` function to `dev/main.rs`
2019-06-08 06:11:12 -07:00
..
Cargo.toml Emit main in dev crate whether or not there is error 2019-06-08 06:11:12 -07:00
main.rs Add a dev crate to run the File parser 2019-02-09 01:03:49 +01:00
parse.rs Emit main in dev crate whether or not there is error 2019-06-08 06:11:12 -07:00
README.md Add readme for the dev directory 2019-04-29 14:13:30 -07:00

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.