Remove #![feature(proc_macro_hygiene)]
(#216)
This commit is contained in:
parent
2603c1c317
commit
d66c2d66fd
12 changed files with 2 additions and 20 deletions
benchmarks/benches
docs/src
maud
src
tests
maud_macros/src
|
@ -1,5 +1,4 @@
|
||||||
#![feature(test)]
|
#![feature(test)]
|
||||||
#![feature(proc_macro_hygiene)]
|
|
||||||
|
|
||||||
extern crate test;
|
extern crate test;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#![feature(test)]
|
#![feature(test)]
|
||||||
#![feature(proc_macro_hygiene)]
|
|
||||||
|
|
||||||
use maud::html;
|
use maud::html;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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! {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#![feature(proc_macro_hygiene)]
|
|
||||||
|
|
||||||
use maud::{html, Markup};
|
use maud::{html, Markup};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#![feature(proc_macro_hygiene)]
|
|
||||||
|
|
||||||
use maud::html;
|
use maud::html;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#![feature(proc_macro_hygiene)]
|
|
||||||
|
|
||||||
use maud::{self, html};
|
use maud::{self, html};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#![feature(proc_macro_hygiene)]
|
|
||||||
|
|
||||||
use maud::html;
|
use maud::html;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#![feature(proc_macro_hygiene)]
|
|
||||||
|
|
||||||
extern crate maud_macros;
|
extern crate maud_macros;
|
||||||
|
|
||||||
use maud_macros::html;
|
use maud_macros::html;
|
||||||
|
|
|
@ -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`?
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue