You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a library that includes a function that converts various input data into String format. I encountered a type-mismatch error in the VsCode plugin between &ToString and any type that is not already String/ &str. The Quick Fix recommendation is to add a reference. Doing so just perpetuates the error and the suggestion remains the same ad infinitum. Here is a minimal reproducible example where this issue occurs:
When I build, run this example, or run clippy on this, no errors are identified by the compiler and I get the output that I want:
What's even stranger is this error was not identified by rust-analyzer yesterday. I tried disabling and re-enabling the plugin, uninstalling and reinstalling the plugin, and reverting to a pre-release version to no success.
The text was updated successfully, but these errors were encountered:
rust-analyzer version: 0.3.1533-standalone
rustc version: rustc 1.67.1
I'm working on a library that includes a function that converts various input data into
String
format. I encountered a type-mismatch error in the VsCode plugin between&ToString
and any type that is not alreadyString
/&str
. The Quick Fix recommendation is to add a reference. Doing so just perpetuates the error and the suggestion remains the same ad infinitum. Here is a minimal reproducible example where this issue occurs:When I build, run this example, or run clippy on this, no errors are identified by the compiler and I get the output that I want:
What's even stranger is this error was not identified by rust-analyzer yesterday. I tried disabling and re-enabling the plugin, uninstalling and reinstalling the plugin, and reverting to a pre-release version to no success.
The text was updated successfully, but these errors were encountered: