Auto merge of #16000 - HKalbasi:drop-inlay-hint, r=HKalbasi

Initial support for implicit drop inlay hint

cc #15785
This commit is contained in:
bors 2023-12-01 13:36:08 +00:00
commit 6e6a0b0a3d
12 changed files with 284 additions and 25 deletions

View file

@ -1264,6 +1264,11 @@
"Show prefix or postfix depending on which uses less parenthesis, preferring postfix."
]
},
"rust-analyzer.inlayHints.implicitDrops.enable": {
"markdownDescription": "Whether to show implicit drop hints.",
"default": false,
"type": "boolean"
},
"rust-analyzer.inlayHints.lifetimeElisionHints.enable": {
"markdownDescription": "Whether to show inlay type hints for elided lifetimes in function signatures.",
"default": "never",