]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_ast_passes/lib.rs
Don't use ExpnKind::descr to get the name of a bang macro.
[rust.git] / src / librustc_ast_passes / lib.rs
index eadbc485296e8705f41c4522ed6b88f42a4604fe..5de45f4e1f36571e597f6e8cfddb58f2688c4c4c 100644 (file)
@@ -2,7 +2,7 @@
 //! parsed by `rustc_parse` and then lowered, after the passes in this crate,
 //! by `rustc_ast_lowering`.
 
-#![feature(slice_patterns)]
+#![cfg_attr(bootstrap, feature(slice_patterns))]
 
 pub mod ast_validation;
 pub mod feature_gate;