]> git.lizzy.rs Git - rust.git/blob - src/librustc_ast_passes/lib.rs
Rollup merge of #68740 - JohnTitor:do-not-sugg-underscore, r=Centril
[rust.git] / src / librustc_ast_passes / lib.rs
1 //! The `rustc_ast_passes` crate contains passes which validate the AST in `syntax`
2 //! parsed by `rustc_parse` and then lowered, after the passes in this crate,
3 //! by `rustc_ast_lowering`.
4 //!
5 //! The crate also contains other misc AST visitors, e.g. `node_count` and `show_span`.
6
7 #![cfg_attr(bootstrap, feature(slice_patterns))]
8
9 pub mod ast_validation;
10 pub mod feature_gate;
11 pub mod node_count;
12 pub mod show_span;