cannot infer type of the type parameter 'a
declared on the trait Baz
#109905
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Meta
rustc --version --verbose
:This was also tried on with
1.70.0-nightly (2023-04-02 3a8a131e9509c478ece1)
on Rust Playground, with the same error.Error output
Backtrace
Note
Without the fully qualified path, see commented code, the error is
error[E0282]: type annotations needed
.The text was updated successfully, but these errors were encountered: