2020-01-05 10:58:44 +01: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 09:48:57 +01:00
|
|
|
//!
|
|
|
|
//! The crate also contains other misc AST visitors, e.g. `node_count` and `show_span`.
|
2020-01-05 10:58:44 +01:00
|
|
|
|
2020-03-22 04:40:05 +01:00
|
|
|
#![feature(iter_is_partitioned)]
|
2021-01-29 08:31:08 +01:00
|
|
|
#![feature(box_patterns)]
|
2020-11-27 15:46:19 -05:00
|
|
|
#![recursion_limit = "256"]
|
2020-03-22 04:40:05 +01:00
|
|
|
|
2020-01-05 10:58:44 +01:00
|
|
|
pub mod ast_validation;
|
2020-01-05 11:11:39 +01:00
|
|
|
pub mod feature_gate;
|
2020-01-11 09:48:57 +01:00
|
|
|
pub mod node_count;
|
2020-01-05 11:21:26 +01:00
|
|
|
pub mod show_span;
|