diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2022-11-01 20:00:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 20:00:39 -0400 |
commit | e2a6d283bed36bf8fe9da293b3c2704365302ba8 (patch) | |
tree | 4955819447b7c5b1a6c47908179d0c3a8117b408 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 2cfab1f643d590a13b0f2cdbeed4eeecfec1ced8 (diff) | |
parent | 17395b45b102b365e6fb19796223d190b5f2bebf (diff) | |
download | rust-e2a6d283bed36bf8fe9da293b3c2704365302ba8.tar.gz |
Rollup merge of #103781 - JakobDegen:mir-opt-tidy, r=jyn514
Detect unused files in `src/test/mir-opt` and error on them in tidy.
Closes #97564 .
Determining which files are generated by a given mir opt test is somewhat difficult. Because of this, we extract the logic for doing it out into a common crate that both compiletest and tidy can depend on. This avoids making compiletest a dependency of tidy which would negatively impact compile times for tidy.
Testing for this is that it catches 5 files that violated this lint (and removes them).
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions