From dd67fe17276e4bf8cd054d2a8453dc58e0571447 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 23 Feb 2018 13:00:11 -0800 Subject: Silence warning in test --- src/test/compile-fail/trait-bounds-not-on-struct.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/compile-fail') 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 6cd43916731..0dd1a4e7d73 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; -- cgit 1.4.1-3-g733a5