summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-37884.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/issues/issue-37884.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/issues/issue-37884.stderr b/tests/ui/issues/issue-37884.stderr
index 7ddb36c8e..b7c0095d6 100644
--- a/tests/ui/issues/issue-37884.stderr
+++ b/tests/ui/issues/issue-37884.stderr
@@ -4,8 +4,8 @@ error[E0308]: method not compatible with trait
LL | fn next(&'a mut self) -> Option<Self::Item>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
|
- = note: expected signature `fn(&mut RepeatMut<'a, T>) -> Option<_>`
- found signature `fn(&'a mut RepeatMut<'a, T>) -> Option<_>`
+ = note: expected signature `fn(&mut RepeatMut<'_, _>) -> Option<_>`
+ found signature `fn(&'a mut RepeatMut<'_, _>) -> Option<_>`
note: the anonymous lifetime as defined here...
--> $DIR/issue-37884.rs:6:5
|
@@ -17,6 +17,6 @@ note: ...does not necessarily outlive the lifetime `'a` as defined here
LL | impl<'a, T: 'a> Iterator for RepeatMut<'a, T> {
| ^^
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.