]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_ast_passes/src/lib.rs
Rollup merge of #103275 - Manishearth:tinystrup, r=pnkfelix
[rust.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 #![recursion_limit = "256"]
13
14 #[macro_use]
15 extern crate tracing;
16
17 pub mod ast_validation;
18 mod errors;
19 pub mod feature_gate;
20 pub mod node_count;
21 pub mod show_span;