Open
Description
The error message
error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
does not point to where in the block the captured lifetime is (which makes debugging it difficult).
It does, however, point to the scope:
note: hidden type `impl futures::Future` captures the scope of call-site for function at 48:40
--> rs/agent-updater/src/fetcher.rs:48:40
|
48 | ) -> Result<PathBuf, FetcherError> {
| ________________________________________^
49 | | let checksum = m.get_valid_checksum()?;
51 | |
... |
72 | | Ok(folder)
73 | | }
| |_____^
Metadata
Metadata
Assignees
Labels
Area: Async & AwaitArea: Messages for errors, warnings, and lintsAsync-await issues that have been triaged during a working group meeting.Category: An issue proposing an enhancement or a PR with one.Diagnostics: An error or lint that needs small tweaks.Status: A Minimal Complete and Verifiable Example has been found for this issueRelevant to the compiler team, which will review and decide on the PR/issue.