fix error message in test

This commit is contained in:
Xuefeng Wu 2015-05-16 21:39:48 +08:00
parent 574a8cd8cc
commit 7fe60c1636

View File

@ -12,7 +12,7 @@ trait Trait {
fn outer(self) {
fn inner(_: Self) {
//~^ ERROR can't use type parameters from outer function
//~^^ ERROR use of undeclared type name `Self`
//~^^ ERROR use of `Self` outside of an impl or trait
}
}
}