about summary refs log tree commit diff
path: root/src/test/run-pass/lazy-init.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-14 12:20:28 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-21 16:21:37 +0200
commitc9f2c2de921c57abf75a14ed4eda0a0ec89e90e9 (patch)
tree222c6f6dacfe45c0f0f7f420012bba078945edbc /src/test/run-pass/lazy-init.rs
parentd28c5bafff12f5b9f6ba96c427e975f860599303 (diff)
downloadrust-c9f2c2de921c57abf75a14ed4eda0a0ec89e90e9.tar.gz
rust-c9f2c2de921c57abf75a14ed4eda0a0ec89e90e9.zip
Allow various lints as part of ui-ifying `src/test/run-pass` suite.
Diffstat (limited to 'src/test/run-pass/lazy-init.rs')
-rw-r--r--src/test/run-pass/lazy-init.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-pass/lazy-init.rs b/src/test/run-pass/lazy-init.rs
index d71d7e751a0..a4a3edf71c0 100644
--- a/src/test/run-pass/lazy-init.rs
+++ b/src/test/run-pass/lazy-init.rs
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_mut)]
 
 
 fn foo(x: isize) { println!("{}", x); }