... cannot be unpinned
diagnostic uses a wrong span
#90164
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: (playground)
The current output is:
The error mentions
impl AsyncRead
(ie the&mut r
argument), but points to the other argument (&mut file
,tokio::fs::File
).The text was updated successfully, but these errors were encountered: