Remove #![feature(proc_macro_hygiene)] ()

This commit is contained in:
Chris Wong 2020-09-27 23:17:41 +10:00 committed by GitHub
parent 2603c1c317
commit d66c2d66fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 2 additions and 20 deletions

View file

@ -1,5 +1,4 @@
#![feature(test)] #![feature(test)]
#![feature(proc_macro_hygiene)]
extern crate test; extern crate test;

View file

@ -1,5 +1,4 @@
#![feature(test)] #![feature(test)]
#![feature(proc_macro_hygiene)]
use maud::html; use maud::html;

View file

@ -1,5 +1,3 @@
#![feature(proc_macro_hygiene)]
use comrak::nodes::{AstNode, NodeCodeBlock, NodeHeading, NodeHtmlBlock, NodeLink, NodeValue}; use comrak::nodes::{AstNode, NodeCodeBlock, NodeHeading, NodeHtmlBlock, NodeLink, NodeValue};
use comrak::{self, Arena, ComrakOptions}; use comrak::{self, Arena, ComrakOptions};
use serde_json; use serde_json;

View file

@ -43,7 +43,6 @@ pub use maud_macros::{html, html_debug};
/// # Example /// # Example
/// ///
/// ```rust /// ```rust
/// # #![feature(proc_macro_hygiene)]
/// use maud::{html, Markup, Render}; /// use maud::{html, Markup, Render};
/// ///
/// /// Provides a shorthand for linking to a CSS stylesheet. /// /// Provides a shorthand for linking to a CSS stylesheet.
@ -144,7 +143,6 @@ pub use maud_htmlescape::Escaper;
/// A minimal web page: /// A minimal web page:
/// ///
/// ```rust /// ```rust
/// # #![feature(proc_macro_hygiene)]
/// use maud::{DOCTYPE, html}; /// use maud::{DOCTYPE, html};
/// ///
/// let markup = html! { /// let markup = html! {

View file

@ -1,4 +1,3 @@
#![feature(proc_macro_hygiene)]
// Make sure `std` is available but the prelude isn't // Make sure `std` is available but the prelude isn't
#![no_std] #![no_std]
extern crate std; extern crate std;

View file

@ -1,5 +1,3 @@
#![feature(proc_macro_hygiene)]
use maud::{html, Markup}; use maud::{html, Markup};
#[test] #[test]

View file

@ -1,5 +1,3 @@
#![feature(proc_macro_hygiene)]
use maud::html; use maud::html;
#[test] #[test]

View file

@ -1,5 +1,3 @@
#![feature(proc_macro_hygiene)]
use maud::{self, html}; use maud::{self, html};
#[test] #[test]

View file

@ -1,5 +1,3 @@
#![feature(proc_macro_hygiene)]
use maud::html; use maud::html;
#[test] #[test]

View file

@ -1,5 +1,3 @@
#![feature(proc_macro_hygiene)]
extern crate maud_macros; extern crate maud_macros;
use maud_macros::html; use maud_macros::html;

View file

@ -1,7 +1,7 @@
error: found keyword `if` error: found keyword `if`
--> $DIR/keyword_names_without_@.rs:9:9 --> $DIR/keyword_names_without_@.rs:7:9
| |
9 | if {} 7 | if {}
| ^^ | ^^
| |
= help: should this be a `@if`? = help: should this be a `@if`?

View file

@ -1,4 +1,3 @@
#![feature(proc_macro_hygiene)]
#![doc(html_root_url = "https://docs.rs/maud_macros/0.22.0")] #![doc(html_root_url = "https://docs.rs/maud_macros/0.22.0")]
// TokenStream values are reference counted, and the mental overhead of tracking // TokenStream values are reference counted, and the mental overhead of tracking
// lifetimes outweighs the marginal gains from explicit borrowing // lifetimes outweighs the marginal gains from explicit borrowing