Skip to content

Commit

Permalink
testsuite: Update error message, unbreak build
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Jan 21, 2013
1 parent bc5dd2f commit e5bf6d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/test/compile-fail/assign-to-method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ fn cat(in_x : uint, in_y : int) -> cat {
fn main() {
let nyan : cat = cat(52u, 99);
nyan.speak = fn@() { debug!("meow"); }; //~ ERROR attempted to take value of method
//~^ ERROR mismatched types
}

0 comments on commit e5bf6d1

Please sign in to comment.