mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-13 12:36:47 +00:00
Update mini-macro post proc macro stabilization
https://github.com/rust-lang/rust/pull/52081 stabilized proc macros, but quote is still unstable, so you need to explicitly enable that feature.
This commit is contained in:
parent
8f61a792f4
commit
3246a1f5c0
@ -1,4 +1,4 @@
|
||||
#![feature(proc_macro, proc_macro_non_items)]
|
||||
#![feature(use_extern_macros, proc_macro_quote, proc_macro_non_items)]
|
||||
extern crate proc_macro;
|
||||
|
||||
use proc_macro::{TokenStream, quote};
|
||||
|
Loading…
Reference in New Issue
Block a user