Skip to content

Commit 1f667e7

Browse files
committed
test: Regular expression mistake. rs=bustage
1 parent fcc470c commit 1f667e7

13 files changed

+22
-22
lines changed

src/test/run-pass/cci_capture_clause.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
extern mod cci_capture_clause;
2020

21-
use ::core::oldcomm::recv;
21+
use core::oldcomm::recv;
2222

2323
fn main() {
2424
cci_capture_clause::foo(()).recv()

src/test/run-pass/class-cast-to-trait-cross-crate-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// xfail-fast
1212
// aux-build:cci_class_cast.rs
1313
extern mod cci_class_cast;
14-
use ::core::to_str::ToStr;
14+
use core::to_str::ToStr;
1515
use cci_class_cast::kitty::*;
1616

1717
fn print_out<T: ToStr>(thing: T, expected: ~str) {

src/test/run-pass/class-separate-impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// xfail-fast
12-
use ::core::to_str::*;
12+
use core::to_str::*;
1313

1414
struct cat {
1515
priv mut meows : uint,

src/test/run-pass/import-glob-crate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
extern mod std;
15-
use ::core::vec::*;
15+
use core::vec::*;
1616

1717
fn main() {
1818
let mut v = from_elem(0u, 0);

src/test/run-pass/issue-2214.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
// option. This file may not be copied, modified, or distributed
1111
// except according to those terms.
1212

13-
use ::core::cast;
14-
use ::core::libc::{c_double, c_int};
15-
use ::core::f64::*;
13+
use core::cast;
14+
use core::libc::{c_double, c_int};
15+
use core::f64::*;
1616

1717
fn to_c_int(v: &mut int) -> &mut c_int unsafe {
1818
cast::reinterpret_cast(&v)

src/test/run-pass/issue-2718.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// tjc: I don't know why
1414
pub mod pipes {
15-
use ::core::cast::{forget, transmute};
15+
use core::cast::{forget, transmute};
1616

1717
pub enum state {
1818
empty,
@@ -212,8 +212,8 @@ pub mod pipes {
212212
}
213213

214214
pub mod pingpong {
215-
use ::core::cast;
216-
use ::core::ptr;
215+
use core::cast;
216+
use core::ptr;
217217

218218
pub enum ping = ::pipes::send_packet<pong>;
219219
pub enum pong = ::pipes::send_packet<ping>;
@@ -241,7 +241,7 @@ pub mod pingpong {
241241
}
242242

243243
pub mod client {
244-
use ::core::option;
244+
use core::option;
245245
use pingpong;
246246

247247
pub type ping = ::pipes::send_packet<pingpong::ping>;

src/test/run-pass/issue-3559.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// rustc --test map_to_str.rs && ./map_to_str
1414
extern mod std;
1515

16-
use ::core::io::{WriterUtil};
16+
use core::io::{WriterUtil};
1717
use std::map::*;
1818

1919
#[cfg(test)]

src/test/run-pass/issue-3656.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// Incorrect struct size computation in the FFI, because of not taking
1414
// the alignment of elements into account.
1515

16-
use ::core::libc::*;
16+
use core::libc::*;
1717

1818
struct KEYGEN {
1919
hash_algorithm: [c_uint * 2],

src/test/run-pass/mod-view-items.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
mod m {
2020
#[legacy_exports];
21-
use ::core::vec;
21+
use core::vec;
2222
fn f() -> ~[int] { vec::from_elem(1u, 0) }
2323
}
2424

src/test/run-pass/pipe-pingpong-bounded.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
// This was generated initially by the pipe compiler, but it's been
1919
// modified in hopefully straightforward ways.
2020
mod pingpong {
21-
use ::core::pipes::*;
22-
use ::core::ptr;
21+
use core::pipes::*;
22+
use core::ptr;
2323

2424
pub type packets = {
2525
ping: Packet<ping>,
@@ -43,7 +43,7 @@ mod pingpong {
4343
pub enum ping = server::pong;
4444
pub enum pong = client::ping;
4545
pub mod client {
46-
use ::core::ptr;
46+
use core::ptr;
4747

4848
pub fn ping(+pipe: ping) -> pong {
4949
{
@@ -61,7 +61,7 @@ mod pingpong {
6161
::pingpong::packets>;
6262
}
6363
pub mod server {
64-
use ::core::ptr;
64+
use core::ptr;
6565

6666
pub type ping = pipes::RecvPacketBuffered<::pingpong::ping,
6767
::pingpong::packets>;

src/test/run-pass/pipe-pingpong-proto.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// An example to make sure the protocol parsing syntax extension works.
1414

15-
use ::core::option;
15+
use core::option;
1616

1717
proto! pingpong (
1818
ping:send {
@@ -25,7 +25,7 @@ proto! pingpong (
2525
)
2626

2727
mod test {
28-
use ::core::pipes::recv;
28+
use core::pipes::recv;
2929
use pingpong::{ping, pong};
3030

3131
pub fn client(-chan: ::pingpong::client::ping) {

src/test/run-pass/trait-to-str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
extern mod core;
1616

17-
use ::core::{str, int, vec};
17+
use core::{str, int, vec};
1818

1919
trait to_str {
2020
fn to_str() -> ~str;

src/test/run-pass/use.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ extern mod zed(name = "core");
1616
extern mod bar(name = "core", vers = "0.6");
1717

1818

19-
use ::core::str;
19+
use core::str;
2020
use x = zed::str;
2121
mod baz {
2222
#[legacy_exports];

0 commit comments

Comments
 (0)