about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorJieyou Xu <jieyouxu@outlook.com>2025-07-12 16:02:05 +0800
committerJieyou Xu <jieyouxu@outlook.com>2025-07-12 16:07:20 +0800
commit4aad9ab8aa7c6ee692453a9544c696f03e281dbd (patch)
treee4e264503c240c6365c2ad7fb747510a69e752d6 /compiler/rustc_codegen_gcc/example/std_example.rs
parentb4dfd51bac242deca51442355784274beb16bd43 (diff)
downloadrust-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