Fix error messages in test cases, since fns/traits now pretty-print with a bounds list

This commit is contained in:
Ben Blum
2013-06-23 02:44:51 -04:00
parent fcf361745f
commit 394f455b5e
6 changed files with 8 additions and 8 deletions

View File

@@ -58,5 +58,5 @@ fn cat(in_x : uint, in_y : int, in_name: ~str) -> cat {
fn main() {
let nyan : @noisy = @cat(0, 2, ~"nyan") as @noisy;
nyan.eat(); //~ ERROR type `@noisy` does not implement any method in scope named `eat`
nyan.eat(); //~ ERROR does not implement any method in scope named `eat`
}