Auto merge of #12253 - Veykril:bm, r=Veykril

feat: Add binding mode inlay hints

![image](https://user-images.githubusercontent.com/3757771/168427387-2f299438-a0cc-496b-a9a5-d689ef6a2b55.png)
This commit is contained in:
bors
2022-05-16 11:16:22 +00:00
14 changed files with 212 additions and 42 deletions

View File

@@ -782,6 +782,11 @@
"Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from."
]
},
"rust-analyzer.inlayHints.bindingModeHints.enable": {
"markdownDescription": "Whether to show inlay type hints for binding modes.",
"default": false,
"type": "boolean"
},
"rust-analyzer.inlayHints.chainingHints.enable": {
"markdownDescription": "Whether to show inlay type hints for method chains.",
"default": true,