]> git.lizzy.rs Git - rust.git/blobdiff - docs/user/generated_config.adoc
Merge #8605
[rust.git] / docs / user / generated_config.adoc
index e0ee35b4e8cf9c6b1c3d6969d87d038f66a76697..e28423e993273f15b95c9a5e6346bf734cb4f85c 100644 (file)
@@ -147,6 +147,12 @@ have more false positives than usual.
 --
 List of rust-analyzer diagnostics to disable.
 --
+[[rust-analyzer.diagnostics.remapPrefix]]rust-analyzer.diagnostics.remapPrefix (default: `{}`)::
++
+--
+Map of prefixes to be substituted when parsing diagnostic file paths.
+This should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.
+--
 [[rust-analyzer.diagnostics.warningsAsHint]]rust-analyzer.diagnostics.warningsAsHint (default: `[]`)::
 +
 --