Open
Description
Rust analyzer tends to fill the whole function or file with red, like this:
This is annoying, I tend to disable the plugin for a moment when that happens.
It happens when I'm in the middle of writing a new function, or refactoring a function, and the error is "wrong return type". Sometimes I satisfy it by providing a return statement first, even mocked one, but it doesn't work if I want multiple branches with different returns.
Another use-case is when opening/closing brackets don't match, and red color makes it more difficult to find what's wrong.