summaryrefslogtreecommitdiffstats
path: root/tests/ui/generic-associated-types/elided-in-expr-position.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/generic-associated-types/elided-in-expr-position.stderr (renamed from src/test/ui/generic-associated-types/elided-in-expr-position.stderr)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/generic-associated-types/elided-in-expr-position.stderr b/tests/ui/generic-associated-types/elided-in-expr-position.stderr
index a9996123f..842b23bd4 100644
--- a/src/test/ui/generic-associated-types/elided-in-expr-position.stderr
+++ b/tests/ui/generic-associated-types/elided-in-expr-position.stderr
@@ -12,7 +12,7 @@ LL | type Assoc<'a> where Self: 'a;
help: add missing lifetime argument
|
LL | fn g(&self) -> Self::Assoc<'_>;
- | ~~~~~~~~~
+ | ++++
error[E0107]: missing generics for associated type `Trait::Assoc`
--> $DIR/elided-in-expr-position.rs:31:26
@@ -28,7 +28,7 @@ LL | type Assoc<'a> where Self: 'a;
help: add missing lifetime argument
|
LL | fn g(&self) -> Self::Assoc<'_> {
- | ~~~~~~~~~
+ | ++++
error: aborting due to 2 previous errors