]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_ast_passes/lib.rs
Auto merge of #68943 - ecstatic-morse:no-useless-drop-on-enum-variants, r=matthewjasper
[rust.git] / src / librustc_ast_passes / lib.rs
index 5de45f4e1f36571e597f6e8cfddb58f2688c4c4c..520a7ac3e566539f7c819d90499dbd9f88962586 100644 (file)
@@ -1,9 +1,10 @@
 //! 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`.
-
-#![cfg_attr(bootstrap, feature(slice_patterns))]
+//!
+//! The crate also contains other misc AST visitors, e.g. `node_count` and `show_span`.
 
 pub mod ast_validation;
 pub mod feature_gate;
+pub mod node_count;
 pub mod show_span;