Associated type incorrectly annotated with generic syntax #6191
Labels
A-ty
type system / type inference / traits / method resolution
E-easy
E-has-instructions
Issue has some instructions and pointers to code to get started
S-actionable
Someone could pick this issue up and work on it right now
Uh oh!
There was an error while loading. Please reload this page.
First of all, thanks for a very useful tool!
When I edit the following code:
rust-analyzer annotates
y
with the nonsensical typeFoo::Bar<T>
, instead of the correct<T as Foo>::Bar
. Clicking to insert this annotation results in a compilation error as expected (E0223).I'm using Visual Studio Code 1.47.2 with version 0.2.336 of the rust-analyzer plugin (installed from the marketplace) and the latest stable rustc. I have not installed the official Rust plugin.
The text was updated successfully, but these errors were encountered: