From c9d9cc6e4441bb10ce2ca313fda68e7f05d7bc46 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Tue, 25 Sep 2018 23:51:35 +0200 Subject: Add `#![allow(..)]` as necessary to get re-migrated run-pass tests compiling with clean stderr again. Most were added mechanically. --- src/test/run-pass/impl-trait/nesting.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/run-pass/impl-trait') 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) -> impl Into<[T; { const FOO: usize = 1; FOO }]> { [t] -- cgit 1.4.1-3-g733a5