diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-12 22:10:29 -0400 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-08-17 12:43:25 -0400 | 
| commit | 84044cd50f3db13defbd96e6720da62140679a25 (patch) | |
| tree | 4f12791f856b6b9dee30ce2858f67bd044458309 /tests/ui/async-await/multiple-lifetimes | |
| parent | eae5b5c6e7d5804f7c0a6080444709b3c77b3443 (diff) | |
| download | rust-84044cd50f3db13defbd96e6720da62140679a25.tar.gz rust-84044cd50f3db13defbd96e6720da62140679a25.zip  | |
Bless test fallout
Diffstat (limited to 'tests/ui/async-await/multiple-lifetimes')
| -rw-r--r-- | tests/ui/async-await/multiple-lifetimes/ret-impl-trait-one.stderr | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/async-await/multiple-lifetimes/ret-impl-trait-one.stderr b/tests/ui/async-await/multiple-lifetimes/ret-impl-trait-one.stderr index 5ae1d78a92b..167b5ee4425 100644 --- a/tests/ui/async-await/multiple-lifetimes/ret-impl-trait-one.stderr +++ b/tests/ui/async-await/multiple-lifetimes/ret-impl-trait-one.stderr @@ -26,10 +26,10 @@ LL | | (a, b) LL | | } | |_^ | -help: to declare that `impl Trait<'a>` captures `'b`, you can add an explicit `'b` lifetime bound +help: add a `use<...>` bound to explicitly capture `'b` | -LL | async fn async_ret_impl_trait1<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a> + 'b { - | ++++ +LL | async fn async_ret_impl_trait1<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a> + use<'a, 'b> { + | +++++++++++++ error: aborting due to 2 previous errors  | 
