summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-12796.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/resolve/issue-12796.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/resolve/issue-12796.rs b/tests/ui/resolve/issue-12796.rs
index 942d6b9a5..de3e73437 100644
--- a/tests/ui/resolve/issue-12796.rs
+++ b/tests/ui/resolve/issue-12796.rs
@@ -1,7 +1,7 @@
trait Trait {
fn outer(&self) {
fn inner(_: &Self) {
- //~^ ERROR can't use generic parameters from outer function
+ //~^ ERROR can't use generic parameters from outer item
}
}
}