diff options
| author | bors <bors@rust-lang.org> | 2022-04-02 07:06:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-04-02 07:06:03 +0000 |
| commit | baaddf2b84008c6128b928472660bafa56e41b37 (patch) | |
| tree | 99d9f79d46ec46f875d7f1c9e8d18ea122e8530d /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | f6b29923c6cd6b577dd1a96724db40b05b828993 (diff) | |
| parent | 10a6d872d4e42884c4be43a51806ccdd6f8b89b5 (diff) | |
| download | rust-baaddf2b84008c6128b928472660bafa56e41b37.tar.gz rust-baaddf2b84008c6128b928472660bafa56e41b37.zip | |
Auto merge of #8611 - Alexendoo:module-files-relative-paths, r=llogiq
Handle relative paths in module_files lints The problem being that when clippy is run in the project's directory `lp` would be a relative path, this wasn't caught by the tests as there `lp` is an absolute path. Being a relative path it did not start with `trim_src_path` and so was ignored Also allowed the removal of some `.to_os_string`/`.to_owned`s changelog: Fixes [`self_named_module_files`] and [`mod_module_files`] not linting Fixes #8123, cc `@DevinR528`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
