summary refs log tree commit diff
path: root/src/test/run-pass/impl-trait
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-25 23:51:35 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-26 13:10:54 +0200
commitc9d9cc6e4441bb10ce2ca313fda68e7f05d7bc46 (patch)
tree9c4f739dbeec60bf819e30b6430f3fbdb20958cf /src/test/run-pass/impl-trait
parent2080474c75b833d2d666291839d8893cc0999de2 (diff)
downloadrust-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/impl-trait')
-rw-r--r--src/test/run-pass/impl-trait/nesting.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-pass/impl-trait/nesting.rs b/src/test/run-pass/impl-trait/nesting.rs
index f721ace0afe..3bb081181ff 100644
--- a/src/test/run-pass/impl-trait/nesting.rs
+++ b/src/test/run-pass/impl-trait/nesting.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // run-pass
+#![allow(dead_code)]
 
 fn foo<T>(t: T) -> impl Into<[T; { const FOO: usize = 1; FOO }]> {
     [t]