about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorLukasz Anforowicz <lukasza@chromium.org>2024-08-07 23:35:33 +0000
committerYacin Tmimi <yacintmimi@gmail.com>2024-08-14 15:02:38 -0400
commitcaaa612a0ba81b9111bb3f4a67035ba0df62c1a9 (patch)
treeca9663077a144012c047ce14f064ce93ae21e1dc /tests/codegen/patchable-function-entry
parent68dc912b992151b8175f87e300b237986f6a0ef9 (diff)
downloadrust-caaa612a0ba81b9111bb3f4a67035ba0df62c1a9.tar.gz
rust-caaa612a0ba81b9111bb3f4a67035ba0df62c1a9.zip
Ensure that `fn config_path` returns canonicalized paths.
This commit ensures that `fn config_path` in `rustfmt/src/config/mod.rs`
always returns canonicalized paths.  This is achieved by canonicalizing
both: 1) paths received via `CliOptions` (after checking if the path
exists) as well as 2) paths returned via `get_toml_path` (canonicalizing
within `fn get_toml_path`).

Fixes https://github.com/rust-lang/rustfmt/issues/6178
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions