The rust-analyzer in Visual Studio Code is displaying text that isn't in the file. It is the white text in the image below. How do I hide the extra text (without disabling rust-analyzer), and what is this feature named?
(I'm new to Rust, and I'm sure it will be immensely useful to see this content at some point, but as a newbie, it is confusing for VSCode to show text that isn't in the examples I'm working from.)
This is called inlay hints. In your screenshot it shows the types of variables, names of arguments and return types in chained method invocations. Note that it normally isn't as obnoxious, but your theme seems to give them quite a distracting look. This is what it looks in another theme: