Skip to content

Commit

Permalink
fix error message in test
Browse files Browse the repository at this point in the history
  • Loading branch information
XuefengWu committed May 16, 2015
1 parent 574a8cd commit 7fe60c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-12796.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit 7fe60c1

Please sign in to comment.