diff options
| author | lcnr <rust@lcnr.de> | 2025-08-13 12:07:51 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2025-08-20 11:10:38 +0200 |
| commit | c2a0fa86adae16d38bd8fa4603694fa4a0913189 (patch) | |
| tree | 2ea6ab3c0dc3e7e4c760e0aaa3596a8c7debb508 /tests/ui/impl-trait | |
| parent | 8365ad17da97bdc774aa167ad0d52c35d04745a0 (diff) | |
| download | rust-c2a0fa86adae16d38bd8fa4603694fa4a0913189.tar.gz rust-c2a0fa86adae16d38bd8fa4603694fa4a0913189.zip | |
diagnostics :3
Diffstat (limited to 'tests/ui/impl-trait')
| -rw-r--r-- | tests/ui/impl-trait/wf-check-hidden-type.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/impl-trait/wf-check-hidden-type.stderr b/tests/ui/impl-trait/wf-check-hidden-type.stderr index 0cbfc502720..86ba7aff54a 100644 --- a/tests/ui/impl-trait/wf-check-hidden-type.stderr +++ b/tests/ui/impl-trait/wf-check-hidden-type.stderr @@ -6,7 +6,7 @@ LL | fn boom<'a, 'b>() -> impl Extend<'a, 'b> { | | | lifetime `'a` defined here LL | None::<&'_ &'_ ()> - | ^^^^^^^^^^^^^^^^^^ opaque type requires that `'a` must outlive `'b` + | ^^^^^^^^^^^^^^^^^^ function was supposed to return data with lifetime `'b` but it is returning data with lifetime `'a` | = help: consider adding the following bound: `'a: 'b` |
