about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2025-01-10 12:36:40 +0100
committerLukas Wirth <lukastw97@gmail.com>2025-01-10 12:38:21 +0100
commit17a6f31738dc2f7b3ffdd597880d35d1a55f9416 (patch)
tree22a89d6df65584a00d4086c5911e20e1d86b214f /src/tools/rust-analyzer/editors/code
parent65a97e6475b00b3d343708b22602acfce27657e6 (diff)
downloadrust-17a6f31738dc2f7b3ffdd597880d35d1a55f9416.tar.gz
rust-17a6f31738dc2f7b3ffdd597880d35d1a55f9416.zip
Implement implicit sized bound inlay hints
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
-rw-r--r--src/tools/rust-analyzer/editors/code/package.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json
index 26cd49d9d2a..76d85a661e3 100644
--- a/src/tools/rust-analyzer/editors/code/package.json
+++ b/src/tools/rust-analyzer/editors/code/package.json
@@ -2108,6 +2108,16 @@
             {
                 "title": "inlayHints",
                 "properties": {
+                    "rust-analyzer.inlayHints.implicitSizedBoundHints.enable": {
+                        "markdownDescription": "Whether to show inlay hints for the implied type parameter `Sized` bound.",
+                        "default": false,
+                        "type": "boolean"
+                    }
+                }
+            },
+            {
+                "title": "inlayHints",
+                "properties": {
                     "rust-analyzer.inlayHints.lifetimeElisionHints.enable": {
                         "markdownDescription": "Whether to show inlay type hints for elided lifetimes in function signatures.",
                         "default": "never",