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.stderr (renamed from src/test/ui/issues/issue-37884.stderr)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/issues/issue-37884.stderr b/tests/ui/issues/issue-37884.stderr
index e9f50b41f..7ddb36c8e 100644
--- a/src/test/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 fn pointer `fn(&mut RepeatMut<'a, T>) -> Option<_>`
- found fn pointer `fn(&'a mut RepeatMut<'a, T>) -> Option<_>`
+ = note: expected signature `fn(&mut RepeatMut<'a, T>) -> Option<_>`
+ found signature `fn(&'a mut RepeatMut<'a, T>) -> Option<_>`
note: the anonymous lifetime as defined here...
--> $DIR/issue-37884.rs:6:5
|