diff options
| author | Carol Nichols <carol.nichols@gmail.com> | 2015-05-08 20:48:54 -0400 |
|---|---|---|
| committer | Carol Nichols <carol.nichols@gmail.com> | 2015-05-08 20:48:54 -0400 |
| commit | bf06163ea7f41a54e7ef96ac9c5dfcd626299926 (patch) | |
| tree | 433a764c049135efd237387e9d4671526737070b /src/test | |
| parent | b210aea1d446dcc9d05d0072c439575f9649d9f9 (diff) | |
| download | rust-bf06163ea7f41a54e7ef96ac9c5dfcd626299926.tar.gz rust-bf06163ea7f41a54e7ef96ac9c5dfcd626299926.zip | |
Remove references to deprecated `extern crate "foo" as bar` syntax
This syntax was removed in b24a3b8 but references remained in the grammar, the reference, rustdoc generation, and some auxiliary test files that don't seem to have been used since 812637e.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/auxiliary/crateresolve4a-1.rs | 14 | ||||
| -rw-r--r-- | src/test/auxiliary/crateresolve4a-2.rs | 14 | ||||
| -rw-r--r-- | src/test/auxiliary/crateresolve4b-1.rs | 18 | ||||
| -rw-r--r-- | src/test/auxiliary/crateresolve4b-2.rs | 18 |
4 files changed, 0 insertions, 64 deletions
diff --git a/src/test/auxiliary/crateresolve4a-1.rs b/src/test/auxiliary/crateresolve4a-1.rs deleted file mode 100644 index 579e93aa059..00000000000 --- a/src/test/auxiliary/crateresolve4a-1.rs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2012 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. - -#![crate_name="crateresolve4a#0.1"] -#![crate_type = "lib"] - -pub fn f() -> isize { 10 } diff --git a/src/test/auxiliary/crateresolve4a-2.rs b/src/test/auxiliary/crateresolve4a-2.rs deleted file mode 100644 index 7da96e07b3f..00000000000 --- a/src/test/auxiliary/crateresolve4a-2.rs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2012 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. - -#![crate_name="crateresolve4a#0.2"] -#![crate_type = "lib"] - -pub fn g() -> isize { 20 } diff --git a/src/test/auxiliary/crateresolve4b-1.rs b/src/test/auxiliary/crateresolve4b-1.rs deleted file mode 100644 index 9e4b0d158ec..00000000000 --- a/src/test/auxiliary/crateresolve4b-1.rs +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2012 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. - -// aux-build:crateresolve4a-1.rs -// aux-build:crateresolve4a-2.rs -#![crate_name="crateresolve4b#0.1"] -#![crate_type = "lib"] - -extern crate "crateresolve4a#0.2" as crateresolve4a; - -pub fn f() -> isize { crateresolve4a::g() } diff --git a/src/test/auxiliary/crateresolve4b-2.rs b/src/test/auxiliary/crateresolve4b-2.rs deleted file mode 100644 index a50b8dbf957..00000000000 --- a/src/test/auxiliary/crateresolve4b-2.rs +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2012 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. - -// aux-build:crateresolve4a-1.rs -// aux-build:crateresolve4a-2.rs -#![crate_name="crateresolve4b#0.2"] -#![crate_type = "lib"] - -extern crate "crateresolve4a#0.1" as crateresolve4a; - -pub fn g() -> isize { crateresolve4a::f() } |
