Skip to content

Commit e5bf6d1

Browse files
committed
testsuite: Update error message, unbreak build
1 parent bc5dd2f commit e5bf6d1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/compile-fail/assign-to-method.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ fn cat(in_x : uint, in_y : int) -> cat {
2929
fn main() {
3030
let nyan : cat = cat(52u, 99);
3131
nyan.speak = fn@() { debug!("meow"); }; //~ ERROR attempted to take value of method
32-
//~^ ERROR mismatched types
3332
}

0 commit comments

Comments
 (0)