Update to rustc 1.30.0-nightly (9395f0af7 2018-09-02)
This commit is contained in:
parent
66ddbcac98
commit
35d5204cab
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,6 @@ fn while_expr() {
|
|||
#[test]
|
||||
fn while_let_expr() {
|
||||
let mut numbers = (0..3).into_iter();
|
||||
#[cfg_attr(feature = "cargo-clippy", allow(while_let_on_iterator))]
|
||||
let s = html! {
|
||||
ul {
|
||||
@while let Some(n) = numbers.next() {
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
#![feature(proc_macro_non_items)]
|
||||
#![feature(proc_macro_quote)]
|
||||
#![feature(proc_macro_span)]
|
||||
#![feature(tool_lints)]
|
||||
|
||||
#![doc(html_root_url = "https://docs.rs/maud_macros/0.18.1")]
|
||||
|
||||
// TokenStream values are reference counted, and the mental overhead of tracking
|
||||
// lifetimes outweighs the marginal gains from explicit borrowing
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))]
|
||||
#![allow(clippy::needless_pass_by_value)]
|
||||
|
||||
extern crate literalext;
|
||||
#[macro_use] extern crate matches;
|
||||
|
|
Loading…
Add table
Reference in a new issue