Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rust-analyzer to 2024-01-08 #112

Merged
merged 3 commits into from
Jan 13, 2024
Merged

Conversation

sublimelsp-app[bot]
Copy link
Contributor

@sublimelsp-app sublimelsp-app bot commented Jan 8, 2024

Update rust-analyzer from 2024-01-01 to 2024-01-08 (see all changes).

Copy link
Contributor

github-actions bot commented Jan 8, 2024

Following are the settings schema changes between tags 2024-01-01 and 2024-01-08. Make sure that those are reflected in LSP-rust-analyzer.sublime-settings and sublime-package.json files.

--- /dev/fd/63	2024-01-13 10:14:31.745652762 +0000
+++ /dev/fd/62	2024-01-13 10:14:31.745652762 +0000
@@ -269,6 +269,11 @@
       "type": "string"
     }
   },
+  "rust-analyzer.cargo.buildScripts.rebuildOnSave": {
+    "markdownDescription": "Rerun proc-macros building/build-scripts running when proc-macro\nor build-script sources change and are saved.",
+    "default": false,
+    "type": "boolean"
+  },
   "rust-analyzer.cargo.buildScripts.useRustcWrapper": {
     "markdownDescription": "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid checking unnecessary things.",
     "default": true,
@@ -414,7 +419,7 @@
     "uniqueItems": true
   },
   "rust-analyzer.check.invocationLocation": {
-    "markdownDescription": "Specifies the working directory for running checks.\n- \"workspace\": run checks for workspaces in the corresponding workspaces' root directories.\n    This falls back to \"root\" if `#rust-analyzer.cargo.check.invocationStrategy#` is set to `once`.\n- \"root\": run checks in the project's root directory.\nThis config only has an effect when `#rust-analyzer.cargo.check.overrideCommand#`\nis set.",
+    "markdownDescription": "Specifies the working directory for running checks.\n- \"workspace\": run checks for workspaces in the corresponding workspaces' root directories.\n    This falls back to \"root\" if `#rust-analyzer.check.invocationStrategy#` is set to `once`.\n- \"root\": run checks in the project's root directory.\nThis config only has an effect when `#rust-analyzer.check.overrideCommand#`\nis set.",
     "default": "workspace",
     "type": "string",
     "enum": [
@@ -427,7 +432,7 @@
     ]
   },
   "rust-analyzer.check.invocationStrategy": {
-    "markdownDescription": "Specifies the invocation strategy to use when running the check command.\nIf `per_workspace` is set, the command will be executed for each workspace.\nIf `once` is set, the command will be executed once.\nThis config only has an effect when `#rust-analyzer.cargo.check.overrideCommand#`\nis set.",
+    "markdownDescription": "Specifies the invocation strategy to use when running the check command.\nIf `per_workspace` is set, the command will be executed for each workspace.\nIf `once` is set, the command will be executed once.\nThis config only has an effect when `#rust-analyzer.check.overrideCommand#`\nis set.",
     "default": "per_workspace",
     "type": "string",
     "enum": [
@@ -448,7 +453,7 @@
     ]
   },
   "rust-analyzer.check.overrideCommand": {
-    "markdownDescription": "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefore include `--message-format=json` or a similar option\n(if your client supports the `colorDiagnosticOutput` experimental\ncapability, you can use `--message-format=json-diagnostic-rendered-ansi`).\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.cargo.check.invocationStrategy#` and\n`#rust-analyzer.cargo.check.invocationLocation#`.\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.",
+    "markdownDescription": "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefore include `--message-format=json` or a similar option\n(if your client supports the `colorDiagnosticOutput` experimental\ncapability, you can use `--message-format=json-diagnostic-rendered-ansi`).\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.check.invocationStrategy#` and\n`#rust-analyzer.check.invocationLocation#`.\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.",
     "default": null,
     "type": [
       "null",
@@ -986,6 +991,11 @@
     "default": true,
     "type": "boolean"
   },
+  "rust-analyzer.inlayHints.rangeExclusiveHints.enable": {
+    "markdownDescription": "Whether to show exclusive range inlay hints.",
+    "default": false,
+    "type": "boolean"
+  },
   "rust-analyzer.inlayHints.reborrowHints.enable": {
     "markdownDescription": "Whether to show inlay hints for compiler inserted reborrows.\nThis setting is deprecated in favor of #rust-analyzer.inlayHints.expressionAdjustmentHints.enable#.",
     "default": "never",

@sublimelsp-app sublimelsp-app bot force-pushed the create-pull-request/patch branch from d288231 to 501616e Compare January 9, 2024 07:23
@sublimelsp-app sublimelsp-app bot force-pushed the create-pull-request/patch branch from 5ebc273 to 7c7cda2 Compare January 13, 2024 07:21
@predragnikolic
Copy link
Member

predragnikolic commented Jan 13, 2024

Hahahaha
I assume that the PR notbot(autocorrect) can be improved to not force push changes

I will force push my changes later.

@predragnikolic predragnikolic force-pushed the create-pull-request/patch branch from 7c7cda2 to 5ebc273 Compare January 13, 2024 10:14
@predragnikolic predragnikolic merged commit ccfac77 into main Jan 13, 2024
2 checks passed
@predragnikolic predragnikolic deleted the create-pull-request/patch branch January 13, 2024 10:15
@rchl
Copy link
Member

rchl commented Jan 13, 2024

You have to be quick. :)

But seriously, I guess the logic should be more sophisticated but not sure how it should work exactly. Maybe similarly to Renovate it should skip updating PR if it has some commits made by someone else than github or the bot itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants