]>
Commit | Line | Data |
---|---|---|
dfeec247 XL |
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`. | |
74b04a01 XL |
4 | //! |
5 | //! The crate also contains other misc AST visitors, e.g. `node_count` and `show_span`. | |
dfeec247 | 6 | |
5e7ed085 | 7 | #![allow(rustc::potential_query_instability)] |
5869c6ff | 8 | #![feature(box_patterns)] |
5e7ed085 FG |
9 | #![feature(if_let_guard)] |
10 | #![feature(iter_is_partitioned)] | |
11 | #![feature(let_chains)] | |
fc512014 | 12 | #![recursion_limit = "256"] |
ba9703b0 | 13 | |
f2b60f7d FG |
14 | #[macro_use] |
15 | extern crate tracing; | |
16 | ||
dfeec247 | 17 | pub mod ast_validation; |
f2b60f7d | 18 | mod errors; |
dfeec247 | 19 | pub mod feature_gate; |
74b04a01 | 20 | pub mod node_count; |
dfeec247 | 21 | pub mod show_span; |