diff --git a/src/test/ui/rfc1598-generic-associated-types/generic-associated-types-where.stderr b/src/test/ui/rfc1598-generic-associated-types/generic-associated-types-where.stderr index 1ffeb36f6aeda..e65da028b23b5 100644 --- a/src/test/ui/rfc1598-generic-associated-types/generic-associated-types-where.stderr +++ b/src/test/ui/rfc1598-generic-associated-types/generic-associated-types-where.stderr @@ -1,7 +1,7 @@ error[E0261]: use of undeclared lifetime name `'a` - --> $DIR/generic-associated-types-where.rs:32:32 + --> $DIR/generic-associated-types-where.rs:34:32 | -32 | type WithDefault<'a, T> = &'a Iterator; +34 | type WithDefault<'a, T> = &'a Iterator; | ^^ undeclared lifetime error: aborting due to previous error