From caecb76f08e1365fe245118c7caa4f6add0f95f5 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sun, 21 May 2017 14:11:08 +0300 Subject: Turn sufficiently old compatibility lints into hard errors --- src/test/run-pass/issue-37020.rs | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/test/run-pass/issue-37020.rs (limited to 'src/test/run-pass') diff --git a/src/test/run-pass/issue-37020.rs b/src/test/run-pass/issue-37020.rs deleted file mode 100644 index 7d0d20269ab..00000000000 --- a/src/test/run-pass/issue-37020.rs +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2016 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -#![allow(private_in_public)] - -mod foo { - pub mod bar { - extern crate core; - } -} - -mod baz { - pub use foo::bar::core; -} - -fn main() { - baz::core::cell::Cell::new(0u32); -} -- cgit 1.4.1-3-g733a5