about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs
diff options
context:
space:
mode:
authorKajetan Puchalski <kajetan.puchalski@kajetanp.co.uk>2024-10-02 16:47:05 +0100
committerKajetan Puchalski <kajetan.puchalski@kajetanp.co.uk>2024-10-02 17:01:10 +0100
commit96d667ba295848ffa55756e15d0b7ad6b7d829fe (patch)
tree7272456c49818d1f54d6936a3322de6e58c8db12 /tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs
parentb91eeae55954c4ce48e825a317fc2fe6f3de00b5 (diff)
downloadrust-96d667ba295848ffa55756e15d0b7ad6b7d829fe.tar.gz
rust-96d667ba295848ffa55756e15d0b7ad6b7d829fe.zip
fix: Join rustfmt overrideCommand with project root
When providing a custom rustfmt command, join it with the project
root instead of the workspace root. This fixes rust-analyzer
getting the wrong invocation path in projects containing subprojects.

This makes the behaviour consistent with how a custom path provided
in rust-analyzer.procMacro.server behaves already.

Resolves issue #18222
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs')
0 files changed, 0 insertions, 0 deletions