Paths to extension trait functions in diagnostics can be confusing #125315
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code compiles with a warning (on take function):
I specified a "full path" (
tokio::sync::MutexGuard::take
) totake
function and it should use that path rather than using a trait.The text was updated successfully, but these errors were encountered: