diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-01 19:43:05 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-07 08:17:05 -0700 |
| commit | 255908ac953acb868ba7ee0c0cbfb8ae0cc3e44d (patch) | |
| tree | 5c1b3e36610a9c893db220c884d03eb99e8d1616 | |
| parent | 104e285eb8f848867c2666765e2aa8221e8a97d1 (diff) | |
| download | rust-255908ac953acb868ba7ee0c0cbfb8ae0cc3e44d.tar.gz rust-255908ac953acb868ba7ee0c0cbfb8ae0cc3e44d.zip | |
test: Update with std => core movement
| -rw-r--r-- | src/test/compile-fail/drop-on-non-struct.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/fully-qualified-type-name1.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/fully-qualified-type-name4.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/issue-13466.rs | 4 | ||||
| -rw-r--r-- | src/test/compile-fail/issue-3680.rs | 4 | ||||
| -rw-r--r-- | src/test/compile-fail/map-types.rs | 4 | ||||
| -rw-r--r-- | src/test/compile-fail/noexporttypeexe.rs | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/src/test/compile-fail/drop-on-non-struct.rs b/src/test/compile-fail/drop-on-non-struct.rs index 1ce6cf55ac3..ac6e35d0b26 100644 --- a/src/test/compile-fail/drop-on-non-struct.rs +++ b/src/test/compile-fail/drop-on-non-struct.rs @@ -13,7 +13,7 @@ type Foo = Vec<u8>; -impl Drop for Foo { //~ ERROR conflicting implementations +impl Drop for Foo { //~^ ERROR cannot provide an extension implementation //~^^ ERROR multiple applicable methods fn drop(&mut self) { diff --git a/src/test/compile-fail/fully-qualified-type-name1.rs b/src/test/compile-fail/fully-qualified-type-name1.rs index dd9833ad41f..c5e7fc82cc9 100644 --- a/src/test/compile-fail/fully-qualified-type-name1.rs +++ b/src/test/compile-fail/fully-qualified-type-name1.rs @@ -13,5 +13,5 @@ fn main() { let x: Option<uint>; x = 5; - //~^ ERROR mismatched types: expected `std::option::Option<uint>` + //~^ ERROR mismatched types: expected `core::option::Option<uint>` } diff --git a/src/test/compile-fail/fully-qualified-type-name4.rs b/src/test/compile-fail/fully-qualified-type-name4.rs index 6e7ba16ac0b..768ae6353d2 100644 --- a/src/test/compile-fail/fully-qualified-type-name4.rs +++ b/src/test/compile-fail/fully-qualified-type-name4.rs @@ -14,7 +14,7 @@ use std::option::Option; fn bar(x: uint) -> Option<uint> { return x; - //~^ ERROR mismatched types: expected `std::option::Option<uint>` + //~^ ERROR mismatched types: expected `core::option::Option<uint>` } fn main() { diff --git a/src/test/compile-fail/issue-13466.rs b/src/test/compile-fail/issue-13466.rs index e4621495f47..44a52148e5b 100644 --- a/src/test/compile-fail/issue-13466.rs +++ b/src/test/compile-fail/issue-13466.rs @@ -16,7 +16,7 @@ pub fn main() { // tricked into looking up a non-existing second type parameter. let _x: uint = match Some(1u) { //~^ ERROR mismatched types: expected `uint` but found `<generic #0>` - Ok(u) => u, //~ ERROR mismatched types: expected `std::option::Option<uint>` - Err(e) => fail!(e) //~ ERROR mismatched types: expected `std::option::Option<uint>` + Ok(u) => u, //~ ERROR mismatched types: expected `core::option::Option<uint>` + Err(e) => fail!(e) //~ ERROR mismatched types: expected `core::option::Option<uint>` }; } diff --git a/src/test/compile-fail/issue-3680.rs b/src/test/compile-fail/issue-3680.rs index f6b5be349d0..02c619f5f36 100644 --- a/src/test/compile-fail/issue-3680.rs +++ b/src/test/compile-fail/issue-3680.rs @@ -11,7 +11,7 @@ fn main() { match None { Err(_) => () - //~^ ERROR mismatched types: expected `std::option::Option<<generic #1>>` - // but found `std::result::Result<<generic #2>,<generic #3>>` + //~^ ERROR mismatched types: expected `core::option::Option<<generic #1>>` + // but found `core::result::Result<<generic #2>,<generic #3>>` } } diff --git a/src/test/compile-fail/map-types.rs b/src/test/compile-fail/map-types.rs index eda4deba752..b59011b5880 100644 --- a/src/test/compile-fail/map-types.rs +++ b/src/test/compile-fail/map-types.rs @@ -18,6 +18,6 @@ fn main() { let x: Box<HashMap<~str, ~str>> = box HashMap::new(); let x: Box<Map<~str, ~str>> = x; let y: Box<Map<uint, ~str>> = box x; - //~^ ERROR failed to find an implementation of trait std::container::Map<uint,~str> - // for ~std::container::Map<~str,~str>:Send + //~^ ERROR failed to find an implementation of trait core::container::Map<uint,~str> + // for ~core::container::Map<~str,~str>:Send } diff --git a/src/test/compile-fail/noexporttypeexe.rs b/src/test/compile-fail/noexporttypeexe.rs index 7091995fa77..508fec069c1 100644 --- a/src/test/compile-fail/noexporttypeexe.rs +++ b/src/test/compile-fail/noexporttypeexe.rs @@ -18,5 +18,5 @@ fn main() { // because the def_id associated with the type was // not convertible to a path. let x: int = noexporttypelib::foo(); - //~^ ERROR expected `int` but found `std::option::Option<int>` + //~^ ERROR expected `int` but found `core::option::Option<int>` } |
