diff --git a/maud/tests/basic_syntax.rs b/maud/tests/basic_syntax.rs index 177fe232..66a7c003 100644 --- a/maud/tests/basic_syntax.rs +++ b/maud/tests/basic_syntax.rs @@ -1,5 +1,6 @@ #![feature(plugin)] #![feature(proc_macro)] +#![feature(proc_macro_non_items)] #![plugin(maud_lints)] diff --git a/maud/tests/control_structures.rs b/maud/tests/control_structures.rs index db3a91d1..028737d3 100644 --- a/maud/tests/control_structures.rs +++ b/maud/tests/control_structures.rs @@ -1,5 +1,6 @@ #![feature(plugin)] #![feature(proc_macro)] +#![feature(proc_macro_non_items)] #![plugin(maud_lints)] diff --git a/maud/tests/misc.rs b/maud/tests/misc.rs index e6800e04..a7a4131d 100644 --- a/maud/tests/misc.rs +++ b/maud/tests/misc.rs @@ -1,5 +1,6 @@ #![feature(plugin)] #![feature(proc_macro)] +#![feature(proc_macro_non_items)] #![plugin(maud_lints)] diff --git a/maud/tests/splices.rs b/maud/tests/splices.rs index 7cf1517f..0edbb80f 100644 --- a/maud/tests/splices.rs +++ b/maud/tests/splices.rs @@ -1,5 +1,6 @@ #![feature(plugin)] #![feature(proc_macro)] +#![feature(proc_macro_non_items)] #![plugin(maud_lints)] diff --git a/maud_extras/lib.rs b/maud_extras/lib.rs index 8aab4d35..00cf8922 100644 --- a/maud_extras/lib.rs +++ b/maud_extras/lib.rs @@ -1,5 +1,6 @@ #![feature(plugin)] #![feature(proc_macro)] +#![feature(proc_macro_non_items)] #![plugin(maud_lints)] @@ -13,6 +14,7 @@ use maud::{Markup, Render, html}; /// /// ```rust /// # #![feature(proc_macro)] +/// # #![feature(proc_macro_non_items)] /// # extern crate maud; /// # extern crate maud_extras; /// # use maud::html; @@ -39,6 +41,8 @@ impl> Render for Css { /// /// ```rust /// # #![feature(proc_macro)] +/// # #![feature(proc_macro_non_items)] +/// # /// # extern crate maud; /// # extern crate maud_extras; /// # use maud::html; @@ -65,6 +69,7 @@ impl> Render for Js { /// /// ```rust /// # #![feature(proc_macro)] +/// # #![feature(proc_macro_non_items)] /// # extern crate maud; /// # extern crate maud_extras; /// # use maud::html; @@ -91,6 +96,7 @@ impl, U: AsRef> Render for Meta { /// /// ```rust /// # #![feature(proc_macro)] +/// # #![feature(proc_macro_non_items)] /// # extern crate maud; /// # extern crate maud_extras; /// # use maud::html; @@ -117,6 +123,7 @@ impl> Render for Title { /// /// ```rust /// # #![feature(proc_macro)] +/// # #![feature(proc_macro_non_items)] /// # extern crate maud; /// # extern crate maud_extras; /// # use maud::html; @@ -143,6 +150,7 @@ impl> Render for Charset { /// /// ```rust /// # #![feature(proc_macro)] +/// # #![feature(proc_macro_non_items)] /// # extern crate maud; /// # extern crate maud_extras; /// # use maud::html; @@ -169,6 +177,7 @@ impl, U: AsRef> Render for MetaProperty { /// /// ```rust /// # #![feature(proc_macro)] +/// # #![feature(proc_macro_non_items)] /// # extern crate maud; /// # extern crate maud_extras; /// # use maud::html; diff --git a/maud_macros/src/lib.rs b/maud_macros/src/lib.rs index acf19193..f661e5a2 100644 --- a/maud_macros/src/lib.rs +++ b/maud_macros/src/lib.rs @@ -1,4 +1,5 @@ #![feature(proc_macro)] +#![feature(proc_macro_non_items)] #![doc(html_root_url = "https://docs.rs/maud_macros/0.17.3")]