Add below into your settings.json
"workbench.colorCustomizations": {
"editorInlayHint.foreground": "#868686f0",
"editorInlayHint.background": "#18181800",
// Overrides for specific kinds of inlay hints
"editorInlayHint.typeForeground": "#486148f0",
"editorInlayHint.parameterForeground": "#486148f0",
},
"rust-analyzer.inlayHints.lifetimeElisionHints.enable":"always",
"rust-analyzer.inlayHints.reborrowHints.enable": "always",