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
|
|
|
|
2020-03-21 22:40:05 -05:00
|
|
|
#![feature(bindings_after_at)]
|
|
|
|
#![feature(iter_is_partitioned)]
|
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;
|