Skip to content

Commit

Permalink
Enable proc_macro_non_items feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
CJStadler authored and lambda-fairy committed Apr 28, 2018
1 parent 41f7744 commit e606e64
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions maud/tests/basic_syntax.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![feature(plugin)]
#![feature(proc_macro)]
#![feature(proc_macro_non_items)]

#![plugin(maud_lints)]

Expand Down
1 change: 1 addition & 0 deletions maud/tests/control_structures.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![feature(plugin)]
#![feature(proc_macro)]
#![feature(proc_macro_non_items)]

#![plugin(maud_lints)]

Expand Down
1 change: 1 addition & 0 deletions maud/tests/misc.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![feature(plugin)]
#![feature(proc_macro)]
#![feature(proc_macro_non_items)]

#![plugin(maud_lints)]

Expand Down
1 change: 1 addition & 0 deletions maud/tests/splices.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![feature(plugin)]
#![feature(proc_macro)]
#![feature(proc_macro_non_items)]

#![plugin(maud_lints)]

Expand Down
9 changes: 9 additions & 0 deletions maud_extras/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![feature(plugin)]
#![feature(proc_macro)]
#![feature(proc_macro_non_items)]

#![plugin(maud_lints)]

Expand All @@ -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;
Expand All @@ -39,6 +41,8 @@ impl<T: AsRef<str>> Render for Css<T> {
///
/// ```rust
/// # #![feature(proc_macro)]
/// # #![feature(proc_macro_non_items)]
/// #
/// # extern crate maud;
/// # extern crate maud_extras;
/// # use maud::html;
Expand All @@ -65,6 +69,7 @@ impl<T: AsRef<str>> Render for Js<T> {
///
/// ```rust
/// # #![feature(proc_macro)]
/// # #![feature(proc_macro_non_items)]
/// # extern crate maud;
/// # extern crate maud_extras;
/// # use maud::html;
Expand All @@ -91,6 +96,7 @@ impl<T: AsRef<str>, U: AsRef<str>> Render for Meta<T, U> {
///
/// ```rust
/// # #![feature(proc_macro)]
/// # #![feature(proc_macro_non_items)]
/// # extern crate maud;
/// # extern crate maud_extras;
/// # use maud::html;
Expand All @@ -117,6 +123,7 @@ impl<T: AsRef<str>> Render for Title<T> {
///
/// ```rust
/// # #![feature(proc_macro)]
/// # #![feature(proc_macro_non_items)]
/// # extern crate maud;
/// # extern crate maud_extras;
/// # use maud::html;
Expand All @@ -143,6 +150,7 @@ impl<T: AsRef<str>> Render for Charset<T> {
///
/// ```rust
/// # #![feature(proc_macro)]
/// # #![feature(proc_macro_non_items)]
/// # extern crate maud;
/// # extern crate maud_extras;
/// # use maud::html;
Expand All @@ -169,6 +177,7 @@ impl<T: AsRef<str>, U: AsRef<str>> Render for MetaProperty<T, U> {
///
/// ```rust
/// # #![feature(proc_macro)]
/// # #![feature(proc_macro_non_items)]
/// # extern crate maud;
/// # extern crate maud_extras;
/// # use maud::html;
Expand Down
1 change: 1 addition & 0 deletions maud_macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![feature(proc_macro)]
#![feature(proc_macro_non_items)]

#![doc(html_root_url = "https://docs.rs/maud_macros/0.17.3")]

Expand Down

0 comments on commit e606e64

Please sign in to comment.