2020-01-05 03:58:44 -06:00
|
|
|
//! The `rustc_ast_passes` crate contains passes which validate the AST in `syntax`
|
|
|
|
//! parsed by `rustc_parse` and then lowered, after the passes in this crate,
|
|
|
|
//! by `rustc_ast_lowering`.
|
2020-01-11 02:48:57 -06:00
|
|
|
//!
|
|
|
|
//! The crate also contains other misc AST visitors, e.g. `node_count` and `show_span`.
|
2020-01-05 03:58:44 -06:00
|
|
|
|
2022-03-09 12:04:09 -06:00
|
|
|
#![allow(rustc::potential_query_instability)]
|
2021-01-29 01:31:08 -06:00
|
|
|
#![feature(box_patterns)]
|
2022-03-09 12:04:09 -06:00
|
|
|
#![feature(if_let_guard)]
|
|
|
|
#![feature(iter_is_partitioned)]
|
|
|
|
#![feature(let_chains)]
|
2021-11-24 19:38:05 -06:00
|
|
|
#![feature(let_else)]
|
2020-11-27 14:46:19 -06:00
|
|
|
#![recursion_limit = "256"]
|
2020-03-21 22:40:05 -05:00
|
|
|
|
2020-01-05 03:58:44 -06:00
|
|
|
pub mod ast_validation;
|
2020-01-05 04:11:39 -06:00
|
|
|
pub mod feature_gate;
|
2020-01-11 02:48:57 -06:00
|
|
|
pub mod node_count;
|
2020-01-05 04:21:26 -06:00
|
|
|
pub mod show_span;
|