diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-14 12:20:28 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-21 16:21:37 +0200 |
| commit | c9f2c2de921c57abf75a14ed4eda0a0ec89e90e9 (patch) | |
| tree | 222c6f6dacfe45c0f0f7f420012bba078945edbc /src/test/run-pass/lazy-init.rs | |
| parent | d28c5bafff12f5b9f6ba96c427e975f860599303 (diff) | |
| download | rust-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.rs | 1 |
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); } |
