Skip to content

Commit 2cc19c8

Browse files
authored
Merge pull request #107 from dtolnay/features
Update to fine-grained proc_macro feature gates
2 parents 1e221fa + 4cd8709 commit 2cc19c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
4545
// Proc-macro2 types in rustdoc of other crates get linked to here.
4646
#![doc(html_root_url = "https://docs.rs/proc-macro2/0.4.7")]
47-
#![cfg_attr(feature = "nightly", feature(proc_macro))]
47+
#![cfg_attr(feature = "nightly", feature(proc_macro_raw_ident, proc_macro_span))]
4848

4949
#[cfg(feature = "proc-macro")]
5050
extern crate proc_macro;

0 commit comments

Comments
 (0)