File tree Expand file tree Collapse file tree 8 files changed +11
-11
lines changed
branches/try2/src/test/compile-fail Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 104e285eb8f848867c2666765e2aa8221e8a97d1
8
+ refs/heads/try2: 255908ac953acb868ba7ee0c0cbfb8ae0cc3e44d
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change 13
13
14
14
type Foo = Vec < u8 > ;
15
15
16
- impl Drop for Foo { //~ ERROR conflicting implementations
16
+ impl Drop for Foo {
17
17
//~^ ERROR cannot provide an extension implementation
18
18
//~^^ ERROR multiple applicable methods
19
19
fn drop ( & mut self ) {
Original file line number Diff line number Diff line change 13
13
fn main ( ) {
14
14
let x: Option < uint > ;
15
15
x = 5 ;
16
- //~^ ERROR mismatched types: expected `std ::option::Option<uint>`
16
+ //~^ ERROR mismatched types: expected `core ::option::Option<uint>`
17
17
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use std::option::Option;
14
14
15
15
fn bar ( x : uint ) -> Option < uint > {
16
16
return x;
17
- //~^ ERROR mismatched types: expected `std ::option::Option<uint>`
17
+ //~^ ERROR mismatched types: expected `core ::option::Option<uint>`
18
18
}
19
19
20
20
fn main ( ) {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pub fn main() {
16
16
// tricked into looking up a non-existing second type parameter.
17
17
let _x: uint = match Some ( 1 u) {
18
18
//~^ ERROR mismatched types: expected `uint` but found `<generic #0>`
19
- Ok ( u) => u, //~ ERROR mismatched types: expected `std ::option::Option<uint>`
20
- Err ( e) => fail ! ( e) //~ ERROR mismatched types: expected `std ::option::Option<uint>`
19
+ Ok ( u) => u, //~ ERROR mismatched types: expected `core ::option::Option<uint>`
20
+ Err ( e) => fail ! ( e) //~ ERROR mismatched types: expected `core ::option::Option<uint>`
21
21
} ;
22
22
}
Original file line number Diff line number Diff line change 11
11
fn main ( ) {
12
12
match None {
13
13
Err ( _) => ( )
14
- //~^ ERROR mismatched types: expected `std ::option::Option<<generic #1>>`
15
- // but found `std ::result::Result<<generic #2>,<generic #3>>`
14
+ //~^ ERROR mismatched types: expected `core ::option::Option<<generic #1>>`
15
+ // but found `core ::result::Result<<generic #2>,<generic #3>>`
16
16
}
17
17
}
Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ fn main() {
18
18
let x: Box < HashMap < ~str , ~str > > = box HashMap :: new ( ) ;
19
19
let x: Box < Map < ~str , ~str > > = x;
20
20
let y: Box < Map < uint , ~str > > = box x;
21
- //~^ ERROR failed to find an implementation of trait std ::container::Map<uint,~str>
22
- // for ~std ::container::Map<~str,~str>:Send
21
+ //~^ ERROR failed to find an implementation of trait core ::container::Map<uint,~str>
22
+ // for ~core ::container::Map<~str,~str>:Send
23
23
}
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ fn main() {
18
18
// because the def_id associated with the type was
19
19
// not convertible to a path.
20
20
let x: int = noexporttypelib:: foo ( ) ;
21
- //~^ ERROR expected `int` but found `std ::option::Option<int>`
21
+ //~^ ERROR expected `int` but found `core ::option::Option<int>`
22
22
}
You can’t perform that action at this time.
0 commit comments