File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ fn main() {
16
16
// temporary, which would be a source of confusion
17
17
18
18
let mut a = @[ 0 ] ;
19
- a. test_mut ( ) ; //~ ERROR type `@[int]` does not implement any method in scope named `test_mut`
19
+ a. test_mut ( ) ; //~ ERROR does not implement any method in scope named `test_mut`
20
20
}
21
21
22
22
trait MyIter {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ impl int: bar { fn dup() -> int { self } fn blah<X>() {} }
13
13
impl uint : bar { fn dup ( ) -> uint { self } fn blah < X > ( ) { } }
14
14
15
15
fn main ( ) {
16
- 10 . dup :: < int > ( ) ; //~ ERROR does not take type parameters
17
- 10 . blah :: < int , int > ( ) ; //~ ERROR incorrect number of type parameters
16
+ 10 i . dup :: < int > ( ) ; //~ ERROR does not take type parameters
17
+ 10 i . blah :: < int , int > ( ) ; //~ ERROR incorrect number of type parameters
18
18
( 10 as bar ) . dup ( ) ; //~ ERROR contains a self-type
19
19
}
You can’t perform that action at this time.
0 commit comments