diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-25 23:51:35 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-26 13:10:54 +0200 |
| commit | c9d9cc6e4441bb10ce2ca313fda68e7f05d7bc46 (patch) | |
| tree | 9c4f739dbeec60bf819e30b6430f3fbdb20958cf /src/test/run-pass/zero-sized | |
| parent | 2080474c75b833d2d666291839d8893cc0999de2 (diff) | |
| download | rust-c9d9cc6e4441bb10ce2ca313fda68e7f05d7bc46.tar.gz rust-c9d9cc6e4441bb10ce2ca313fda68e7f05d7bc46.zip | |
Add `#![allow(..)]` as necessary to get re-migrated run-pass tests compiling with clean stderr again.
Most were added mechanically.
Diffstat (limited to 'src/test/run-pass/zero-sized')
3 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-pass/zero-sized/zero-sized-binary-heap-push.rs b/src/test/run-pass/zero-sized/zero-sized-binary-heap-push.rs index 4ab329f166a..118e83537ca 100644 --- a/src/test/run-pass/zero-sized/zero-sized-binary-heap-push.rs +++ b/src/test/run-pass/zero-sized/zero-sized-binary-heap-push.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(unused_variables)] use std::collections::BinaryHeap; use std::iter::Iterator; diff --git a/src/test/run-pass/zero-sized/zero-sized-btreemap-insert.rs b/src/test/run-pass/zero-sized/zero-sized-btreemap-insert.rs index 5e406152d93..a2c0f78850c 100644 --- a/src/test/run-pass/zero-sized/zero-sized-btreemap-insert.rs +++ b/src/test/run-pass/zero-sized/zero-sized-btreemap-insert.rs @@ -9,6 +9,8 @@ // except according to those terms. // run-pass +#![allow(unused_variables)] +#![allow(unused_imports)] use std::cmp::{Ord, Ordering, PartialOrd}; use std::collections::BTreeMap; use std::iter::Iterator; diff --git a/src/test/run-pass/zero-sized/zero-sized-vec-push.rs b/src/test/run-pass/zero-sized/zero-sized-vec-push.rs index dd8b717761b..d418535bf9f 100644 --- a/src/test/run-pass/zero-sized/zero-sized-vec-push.rs +++ b/src/test/run-pass/zero-sized/zero-sized-vec-push.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(unused_variables)] use std::iter::Iterator; use std::vec::Vec; |
