How to disable these inlays in VSCode / rust-analyzer?

I'd like to disable any kind of "inlays" in VSCode / rust-analyzer, because I find it ugly to have uneven line heights.

However, I cannot seem to get rid of these n implementation inlays:


I think I have disabled any kind of inlays in the rust-analzer settings, but they are still there. Any ideas how to get rid of them?

Those are not inlay hints but code lenses/annotations, you are looking for the rust-analyzer.lens.enable setting in this case.


Thanks for the clarification! Indeed, and it looks like the analyzer.lens.enable setting is kind of a master setting for all lenses, so exactly what I was looking for.