From dd67fe17276e4bf8cd054d2a8453dc58e0571447 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 23 Feb 2018 13:00:11 -0800 Subject: [PATCH] Silence warning in test --- src/test/compile-fail/trait-bounds-not-on-struct.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/compile-fail/trait-bounds-not-on-struct.rs b/src/test/compile-fail/trait-bounds-not-on-struct.rs index 6cd439167314..0dd1a4e7d733 100644 --- a/src/test/compile-fail/trait-bounds-not-on-struct.rs +++ b/src/test/compile-fail/trait-bounds-not-on-struct.rs @@ -9,6 +9,7 @@ // except according to those terms. #![feature(dyn_trait)] +#![allow(bare_trait_object)] struct Foo;