Skip to content

Commit 6b20e8c

Browse files
committed
Fix error message case in two cfail test
I had made the error consistent with other errors, but forgot to also change the tests.
1 parent 9e2b273 commit 6b20e8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/compile-fail/nested-ty-params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// error-pattern:Attempt to use a type argument out of scope
1+
// error-pattern:attempt to use a type argument out of scope
22
fn hd<U>(v: [U]) -> U {
33
fn hd1(w: [U]) -> U { ret w[0]; }
44

src/test/compile-fail/type-arg-out-of-scope.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// error-pattern:Attempt to use a type argument out of scope
1+
// error-pattern:attempt to use a type argument out of scope
22
fn foo<T>(x: T) {
33
fn bar(f: fn(T) -> T) { }
44
}

0 commit comments

Comments
 (0)