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
After running rustlings lsp and setting cargo to use all features (for the exercise feature). Rust analyzer still fails to recognize the workspace and populate the exercises subdirectory with diagnostic information.
Please note that I still get Syntax Errors
---------env-info-----------
Neovim Version: v0.9.0-dev-1147+ge389b1890
cargo 1.66.0 (d65d197ad 2022-11-15)
rust-analyzer 1.68.0 (2c8cc343 2023-03-06)
-------what-I-tried--------
Run rustligns lsp multiple times after re installing rustlings
setting cargo. Features to "exercises"
setting cargo.features to "all"
updating rust
updating rust-analyzer
trying to see if VScode gets it
manually adding the exercise subdir into the cargo.toml file with
[features]
default = ["exercises"]
exercises = []
None of the above worked :(
The text was updated successfully, but these errors were encountered:
Please tell me what file I should use to test the diagnostics. Currently I am testing traits4.rs (because that's what I made it up to without the diagnostics).
@jnnnnn Thank you! this works for rustlings files that are in directories but for things like quiz1,2,3 this solution does not work. I am working out now how to change it so that it works and then I will open a PR with you. Thank you!
------problem-statement----
After running rustlings lsp and setting cargo to use all features (for the exercise feature). Rust analyzer still fails to recognize the workspace and populate the exercises subdirectory with diagnostic information.
Please note that I still get Syntax Errors
---------env-info-----------
-------what-I-tried--------
None of the above worked :(
The text was updated successfully, but these errors were encountered: