mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 16:00:10 +00:00
5b351e5a82
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` |
||
---|---|---|
.. | ||
Cargo.toml | ||
main.rs | ||
parse.rs | ||
README.md |
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.