Rust Analyzer type hint not working in VSCode

299 views Asked by At

I am new to Rust and experiencing some problem with the type hint in Rust Analyzer. enter image description here Ideally, there should be a type hint for is_morning on line 9. But it doesn't work. All my settings are default. Please help me!

I tryied to add a line in the config file of VSCode like this. enter image description here But it says "rust-analyzer.inlayHints.enable" is a "Unknown Configuration Setting"

0

There are 0 answers