From fb7980d79673dfb292545d2466bb29d3fde49546 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 23 Feb 2018 09:52:03 -0800 Subject: [PATCH] Remove allow(bare_trait_object) from librustc --- src/librustc/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index f05ed0a460d87..d08a41010ab16 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -41,8 +41,6 @@ html_root_url = "https://doc.rust-lang.org/nightly/")] #![deny(warnings)] -#![cfg_attr(not(stage0), allow(bare_trait_object))] - #![feature(box_patterns)] #![feature(box_syntax)] #![feature(conservative_impl_trait)]