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(proc_macro_hygiene)]
|
||||
|
||||
extern crate test;
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#![feature(test)]
|
||||
#![feature(proc_macro_hygiene)]
|
||||
|
||||
use maud::html;
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![feature(proc_macro_hygiene)]
|
||||
|
||||
use comrak::nodes::{AstNode, NodeCodeBlock, NodeHeading, NodeHtmlBlock, NodeLink, NodeValue};
|
||||
use comrak::{self, Arena, ComrakOptions};
|
||||
use serde_json;
|
||||
|
|
|
@ -43,7 +43,6 @@ pub use maud_macros::{html, html_debug};
|
|||
/// # Example
|
||||
///
|
||||
/// ```rust
|
||||
/// # #![feature(proc_macro_hygiene)]
|
||||
/// use maud::{html, Markup, Render};
|
||||
///
|
||||
/// /// Provides a shorthand for linking to a CSS stylesheet.
|
||||
|
@ -144,7 +143,6 @@ pub use maud_htmlescape::Escaper;
|
|||
/// A minimal web page:
|
||||
///
|
||||
/// ```rust
|
||||
/// # #![feature(proc_macro_hygiene)]
|
||||
/// use maud::{DOCTYPE, html};
|
||||
///
|
||||
/// let markup = html! {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#![feature(proc_macro_hygiene)]
|
||||
// Make sure `std` is available but the prelude isn't
|
||||
#![no_std]
|
||||
extern crate std;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![feature(proc_macro_hygiene)]
|
||||
|
||||
use maud::{html, Markup};
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![feature(proc_macro_hygiene)]
|
||||
|
||||
use maud::html;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![feature(proc_macro_hygiene)]
|
||||
|
||||
use maud::{self, html};
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![feature(proc_macro_hygiene)]
|
||||
|
||||
use maud::html;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![feature(proc_macro_hygiene)]
|
||||
|
||||
extern crate maud_macros;
|
||||
|
||||
use maud_macros::html;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
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`?
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#![feature(proc_macro_hygiene)]
|
||||
#![doc(html_root_url = "https://docs.rs/maud_macros/0.22.0")]
|
||||
// TokenStream values are reference counted, and the mental overhead of tracking
|
||||
// lifetimes outweighs the marginal gains from explicit borrowing
|
||||
|
|
Loading…
Add table
Reference in a new issue