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`.
5 //! The crate also contains other misc AST visitors, e.g. `node_count` and `show_span`.
7 #![allow(rustc::potential_query_instability)]
8 #![feature(box_patterns)]
9 #![feature(if_let_guard)]
10 #![feature(iter_is_partitioned)]
12 #![recursion_limit = "256"]
14 pub mod ast_validation;