]> git.proxmox.com Git - rustc.git/blob - compiler/rustc_ast_passes/src/lib.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_ast_passes / src / 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 #![allow(rustc::potential_query_instability)]
8 #![feature(box_patterns)]
9 #![feature(if_let_guard)]
10 #![feature(iter_is_partitioned)]
11 #![feature(let_chains)]
12 #![feature(let_else)]
13 #![recursion_limit = "256"]
14
15 pub mod ast_validation;
16 pub mod feature_gate;
17 pub mod node_count;
18 pub mod show_span;