]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_ast_passes/src/lib.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / compiler / rustc_ast_passes / src / lib.rs
CommitLineData
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]
15extern crate tracing;
16
dfeec247 17pub mod ast_validation;
f2b60f7d 18mod errors;
dfeec247 19pub mod feature_gate;
74b04a01 20pub mod node_count;
dfeec247 21pub mod show_span;