test: Regular expression mistake. rs=bustage
This commit is contained in:
parent
fcc470c0ee
commit
1f667e7995
@ -18,7 +18,7 @@
|
||||
|
||||
extern mod cci_capture_clause;
|
||||
|
||||
use ::core::oldcomm::recv;
|
||||
use core::oldcomm::recv;
|
||||
|
||||
fn main() {
|
||||
cci_capture_clause::foo(()).recv()
|
||||
|
@ -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) {
|
||||
|
@ -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,
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
extern mod std;
|
||||
use ::core::vec::*;
|
||||
use core::vec::*;
|
||||
|
||||
fn main() {
|
||||
let mut v = from_elem(0u, 0);
|
||||
|
@ -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)
|
||||
|
@ -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>;
|
||||
|
@ -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)]
|
||||
|
@ -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],
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
mod m {
|
||||
#[legacy_exports];
|
||||
use ::core::vec;
|
||||
use core::vec;
|
||||
fn f() -> ~[int] { vec::from_elem(1u, 0) }
|
||||
}
|
||||
|
||||
|
@ -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>;
|
||||
|
@ -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) {
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
extern mod core;
|
||||
|
||||
use ::core::{str, int, vec};
|
||||
use core::{str, int, vec};
|
||||
|
||||
trait to_str {
|
||||
fn to_str() -> ~str;
|
||||
|
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user