summaryrefslogtreecommitdiffstats
path: root/tests/ui/nested-ty-params.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/nested-ty-params.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/nested-ty-params.rs b/tests/ui/nested-ty-params.rs
index 85413acdb..25bac1ba2 100644
--- a/tests/ui/nested-ty-params.rs
+++ b/tests/ui/nested-ty-params.rs
@@ -1,4 +1,4 @@
-// error-pattern:can't use generic parameters from outer function
+// error-pattern:can't use generic parameters from outer item
fn hd<U>(v: Vec<U> ) -> U {
fn hd1(w: [U]) -> U { return w[0]; }