summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/issue-73159-rpit-static.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/nll/issue-73159-rpit-static.stderr')
-rw-r--r--tests/ui/nll/issue-73159-rpit-static.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/nll/issue-73159-rpit-static.stderr b/tests/ui/nll/issue-73159-rpit-static.stderr
index 260b9b597..4d3a90153 100644
--- a/tests/ui/nll/issue-73159-rpit-static.stderr
+++ b/tests/ui/nll/issue-73159-rpit-static.stderr
@@ -4,6 +4,7 @@ error[E0700]: hidden type for `impl Iterator<Item = u8>` captures lifetime that
LL | impl<'a> Foo<'a> {
| -- hidden type `Copied<std::slice::Iter<'a, u8>>` captures the lifetime `'a` as defined here
LL | fn make_it(&self) -> impl Iterator<Item = u8> {
+ | ------------------------ opaque type defined here
LL | self.0.iter().copied()
| ^^^^^^^^^^^^^^^^^^^^^^