diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2025-07-12 16:02:05 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2025-07-12 16:07:20 +0800 |
| commit | 4aad9ab8aa7c6ee692453a9544c696f03e281dbd (patch) | |
| tree | e4e264503c240c6365c2ad7fb747510a69e752d6 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | b4dfd51bac242deca51442355784274beb16bd43 (diff) | |
| download | rust-4aad9ab8aa7c6ee692453a9544c696f03e281dbd.tar.gz rust-4aad9ab8aa7c6ee692453a9544c696f03e281dbd.zip | |
Rename `Mode` to `TestMode`
It is *critical* that we maintain clear nomenclature in `compiletest`. We have many types of "modes" in `compiletest` -- pass modes, coverage modes, compare modes, you name it. `Mode` is also a *super* general term. Rename it to `TestMode` to leave no room for such ambiguity. As a follow-up, I also intend to introduce an enum for `TestSuite`, then rid of all usage of glob re-exported `TestMode::*` enum variants -- many test suites share the same name as the test mode.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
