summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-3214.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-3214.rs')
-rw-r--r--tests/ui/issues/issue-3214.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-3214.rs b/tests/ui/issues/issue-3214.rs
index e3c07bb3f..b2c27f5be 100644
--- a/tests/ui/issues/issue-3214.rs
+++ b/tests/ui/issues/issue-3214.rs
@@ -1,6 +1,6 @@
fn foo<T>() {
struct Foo {
- x: T, //~ ERROR can't use generic parameters from outer function
+ x: T, //~ ERROR can't use generic parameters from outer item
}
impl<T> Drop for Foo<T> {