rust/src/tools/compiletest
Manish Goregaokar e2a6d283be
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).
2022-11-01 20:00:39 -04:00
..
src Rollup merge of #103781 - JakobDegen:mir-opt-tidy, r=jyn514 2022-11-01 20:00:39 -04:00
Cargo.toml Detect unused files in src/test/mir-opt and error on them in tidy. 2022-10-31 21:45:41 -07:00