Description
Thank you all for putting in the work and effort to make Rust the best language ever!
I am having a problem with the rust_analyzer tool in VsCode. There is no autocomplete for the Tool Prelude attributes. I was incapable of finding answers on google.
The Tool Prelude is imported. I already tested #[rustfmt::skip]
for example and it's working just fine
The only problem is the autocomplete. Here is my rust analyzer configurations in VsCode:
"rust-analyzer.inlayHints.lifetimeElisionHints.enable": "always",
"rust-analyzer.inlayHints.reborrowHints.enable": "always",
"rust-analyzer.cargo.features": "all",
I am pretty confident this is not a VsCode problem because the intellisense seems to be working perfectly well for everything else. I suspect it is a rust_analyzer configuration issue, since rust_analyzer is also working perfectly fine for everything else as well.
I don't really know if this is a VsCode problem or a rust_analyzer problem. I don't even know if it is a problem thanks to the only clue i got from The Rust Prelude:
"When a tool is not in use, the tool’s attributes are accepted without a warning. When the tool is in use, the tool is responsible for processing and interpretation of its attributes."
Is this even a problem? I am completely lost and any help would be deeply appreciated.