test: Regular expression mistake. rs=bustage

This commit is contained in:
Patrick Walton 2013-01-07 22:13:34 -08:00
parent fcc470c0ee
commit 1f667e7995
13 changed files with 22 additions and 22 deletions

View File

@ -18,7 +18,7 @@
extern mod cci_capture_clause;
use ::core::oldcomm::recv;
use core::oldcomm::recv;
fn main() {
cci_capture_clause::foo(()).recv()

View File

@ -11,7 +11,7 @@
// xfail-fast
// aux-build:cci_class_cast.rs
extern mod cci_class_cast;
use ::core::to_str::ToStr;
use core::to_str::ToStr;
use cci_class_cast::kitty::*;
fn print_out<T: ToStr>(thing: T, expected: ~str) {

View File

@ -9,7 +9,7 @@
// except according to those terms.
// xfail-fast
use ::core::to_str::*;
use core::to_str::*;
struct cat {
priv mut meows : uint,

View File

@ -12,7 +12,7 @@
extern mod std;
use ::core::vec::*;
use core::vec::*;
fn main() {
let mut v = from_elem(0u, 0);

View File

@ -10,9 +10,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use ::core::cast;
use ::core::libc::{c_double, c_int};
use ::core::f64::*;
use core::cast;
use core::libc::{c_double, c_int};
use core::f64::*;
fn to_c_int(v: &mut int) -> &mut c_int unsafe {
cast::reinterpret_cast(&v)

View File

@ -12,7 +12,7 @@
// tjc: I don't know why
pub mod pipes {
use ::core::cast::{forget, transmute};
use core::cast::{forget, transmute};
pub enum state {
empty,
@ -212,8 +212,8 @@ pub mod pipes {
}
pub mod pingpong {
use ::core::cast;
use ::core::ptr;
use core::cast;
use core::ptr;
pub enum ping = ::pipes::send_packet<pong>;
pub enum pong = ::pipes::send_packet<ping>;
@ -241,7 +241,7 @@ pub mod pingpong {
}
pub mod client {
use ::core::option;
use core::option;
use pingpong;
pub type ping = ::pipes::send_packet<pingpong::ping>;

View File

@ -13,7 +13,7 @@
// rustc --test map_to_str.rs && ./map_to_str
extern mod std;
use ::core::io::{WriterUtil};
use core::io::{WriterUtil};
use std::map::*;
#[cfg(test)]

View File

@ -13,7 +13,7 @@
// Incorrect struct size computation in the FFI, because of not taking
// the alignment of elements into account.
use ::core::libc::*;
use core::libc::*;
struct KEYGEN {
hash_algorithm: [c_uint * 2],

View File

@ -18,7 +18,7 @@
mod m {
#[legacy_exports];
use ::core::vec;
use core::vec;
fn f() -> ~[int] { vec::from_elem(1u, 0) }
}

View File

@ -18,8 +18,8 @@
// This was generated initially by the pipe compiler, but it's been
// modified in hopefully straightforward ways.
mod pingpong {
use ::core::pipes::*;
use ::core::ptr;
use core::pipes::*;
use core::ptr;
pub type packets = {
ping: Packet<ping>,
@ -43,7 +43,7 @@ mod pingpong {
pub enum ping = server::pong;
pub enum pong = client::ping;
pub mod client {
use ::core::ptr;
use core::ptr;
pub fn ping(+pipe: ping) -> pong {
{
@ -61,7 +61,7 @@ mod pingpong {
::pingpong::packets>;
}
pub mod server {
use ::core::ptr;
use core::ptr;
pub type ping = pipes::RecvPacketBuffered<::pingpong::ping,
::pingpong::packets>;

View File

@ -12,7 +12,7 @@
// An example to make sure the protocol parsing syntax extension works.
use ::core::option;
use core::option;
proto! pingpong (
ping:send {
@ -25,7 +25,7 @@ proto! pingpong (
)
mod test {
use ::core::pipes::recv;
use core::pipes::recv;
use pingpong::{ping, pong};
pub fn client(-chan: ::pingpong::client::ping) {

View File

@ -14,7 +14,7 @@
extern mod core;
use ::core::{str, int, vec};
use core::{str, int, vec};
trait to_str {
fn to_str() -> ~str;

View File

@ -16,7 +16,7 @@ extern mod zed(name = "core");
extern mod bar(name = "core", vers = "0.6");
use ::core::str;
use core::str;
use x = zed::str;
mod baz {
#[legacy_exports];