about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorVadim Chugunov <vadimcn@gmail.com>2016-12-01 15:21:59 -0800
committerVadim Chugunov <vadimcn@gmail.com>2016-12-01 16:56:49 -0800
commita9a6f8c8eddba12c72a8caa73bdb236f089bda3c (patch)
treebade1b79bda101fb91a17509618d379c9d0081d2 /src/test
parent13477c77bf07b1c9a8ddcbd4613e173312c33d59 (diff)
Remove the "linked_from" feature.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/feature-gate-linked-from.rs16
-rw-r--r--src/test/run-make/issue-15460/foo.rs2
-rw-r--r--src/test/run-pass/auxiliary/issue-25185-1.rs3
3 files changed, 0 insertions, 21 deletions
diff --git a/src/test/compile-fail/feature-gate-linked-from.rs b/src/test/compile-fail/feature-gate-linked-from.rs
deleted file mode 100644
index 8705684111e..00000000000
--- a/src/test/compile-fail/feature-gate-linked-from.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2015 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.
-
-#[linked_from = "foo"] //~ ERROR experimental feature
-extern {
-    fn foo();
-}
-
-fn main() {}
diff --git a/src/test/run-make/issue-15460/foo.rs b/src/test/run-make/issue-15460/foo.rs
index 8b96fe36824..6917fa55579 100644
--- a/src/test/run-make/issue-15460/foo.rs
+++ b/src/test/run-make/issue-15460/foo.rs
@@ -8,11 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(linked_from)]
 #![crate_type = "dylib"]
 
 #[link(name = "foo", kind = "static")]
-#[linked_from = "foo"]
 extern {
     pub fn foo();
 }
diff --git a/src/test/run-pass/auxiliary/issue-25185-1.rs b/src/test/run-pass/auxiliary/issue-25185-1.rs
index 1ec29501b76..b9da39cbbcb 100644
--- a/src/test/run-pass/auxiliary/issue-25185-1.rs
+++ b/src/test/run-pass/auxiliary/issue-25185-1.rs
@@ -10,12 +10,9 @@
 
 // no-prefer-dynamic
 
-#![feature(linked_from)]
-
 #![crate_type = "rlib"]
 
 #[link(name = "rust_test_helpers", kind = "static")]
-#[linked_from = "rust_test_helpers"]
 extern {
     pub fn rust_dbg_extern_identity_u32(u: u32) -> u32;
 }