commit | 4cd87090dda80e6b09f7799c22cb3baf7dcaf654 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Mon Jul 16 22:52:41 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Mon Jul 16 22:52:41 2018 -0700 |
tree | c3540d4570b4dee061be4e265efe8260132c4934 | |
parent | 1e221fa07849eeffe7120cde5a33d61d1b6a1f0e [diff] |
Update to fine-grained proc_macro feature gates
diff --git a/src/lib.rs b/src/lib.rs index 883fb58..55e7cda 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -44,7 +44,7 @@ // Proc-macro2 types in rustdoc of other crates get linked to here. #![doc(html_root_url = "https://docs.rs/proc-macro2/0.4.7")] -#![cfg_attr(feature = "nightly", feature(proc_macro))] +#![cfg_attr(feature = "nightly", feature(proc_macro_raw_ident, proc_macro_span))] #[cfg(feature = "proc-macro")] extern crate proc_macro;