Fix error message case in two cfail test

I had made the error consistent with other errors, but forgot to
also change the tests.
This commit is contained in:
Marijn Haverbeke 2012-01-09 17:49:06 +01:00
parent 9e2b273221
commit 6b20e8c88b
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// error-pattern:Attempt to use a type argument out of scope
// error-pattern:attempt to use a type argument out of scope
fn hd<U>(v: [U]) -> U {
fn hd1(w: [U]) -> U { ret w[0]; }

View File

@ -1,4 +1,4 @@
// error-pattern:Attempt to use a type argument out of scope
// error-pattern:attempt to use a type argument out of scope
fn foo<T>(x: T) {
fn bar(f: fn(T) -> T) { }
}