about summary refs log tree commit diff
path: root/src/test/run-pass
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-05-21 14:11:08 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-05-30 22:00:30 +0300
commitcaecb76f08e1365fe245118c7caa4f6add0f95f5 (patch)
tree3d7762f8f32362320d0228e4e9d5b703fb8f6014 /src/test/run-pass
parentf89d8d184490ecb3cf91f7b6bb7296d649f931ba (diff)
downloadrust-caecb76f08e1365fe245118c7caa4f6add0f95f5.tar.gz
rust-caecb76f08e1365fe245118c7caa4f6add0f95f5.zip
Turn sufficiently old compatibility lints into hard errors
Diffstat (limited to 'src/test/run-pass')
-rw-r--r--src/test/run-pass/issue-37020.rs25
1 files changed, 0 insertions, 25 deletions
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 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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);
-}