about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2018-10-05 18:10:48 +0200
committerGitHub <noreply@github.com>2018-10-05 18:10:48 +0200
commit87f6d9e7f94af1e2c192a68c997e6b247bba5d06 (patch)
treee6cd8e677353908da215a72df428cd625733f887
parentc9359566adf947d75782302374bbaa51db9cab43 (diff)
parentcd842736d97477218553c56b4919f8c2618671a9 (diff)
downloadrust-87f6d9e7f94af1e2c192a68c997e6b247bba5d06.tar.gz
rust-87f6d9e7f94af1e2c192a68c997e6b247bba5d06.zip
Merge pull request #3268 from matthiaskrgr/rustup_macros_20
mini-macro: fix tests with latest rustc (rename feature: proc_macro_non_items -> proc_macro_hygiene).
-rw-r--r--mini-macro/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mini-macro/src/lib.rs b/mini-macro/src/lib.rs
index 8a19dc2c4e5..01cdc70c72a 100644
--- a/mini-macro/src/lib.rs
+++ b/mini-macro/src/lib.rs
@@ -1,4 +1,4 @@
-#![feature(proc_macro_quote, proc_macro_non_items)]
+#![feature(proc_macro_quote, proc_macro_hygiene)]
 extern crate proc_macro;
 
 use proc_macro::{TokenStream, quote};
@@ -8,4 +8,4 @@ pub fn mini_macro(_: TokenStream) -> TokenStream {
     quote!(
         #[allow(unused)] fn needless_take_by_value(s: String) { println!("{}", s.len()); }
     )
-}
\ No newline at end of file
+}