Skip to content

Commit 3246a1f

Browse files
committed
Update mini-macro post proc macro stabilization
rust-lang/rust#52081 stabilized proc macros, but quote is still unstable, so you need to explicitly enable that feature.
1 parent 8f61a79 commit 3246a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mini-macro/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(proc_macro, proc_macro_non_items)]
1+
#![feature(use_extern_macros, proc_macro_quote, proc_macro_non_items)]
22
extern crate proc_macro;
33

44
use proc_macro::{TokenStream, quote};

0 commit comments

Comments
 (0)