about summary refs log tree commit diff
path: root/src/tools/rustdoc-gui-test
diff options
context:
space:
mode:
authorJieyou Xu <jieyouxu@outlook.com>2025-06-30 17:15:32 +0800
committerJieyou Xu <jieyouxu@outlook.com>2025-07-02 12:07:57 +0800
commitcf5788d30dfbb3532c1e4fc18b009bfa51edb310 (patch)
tree82ff1d56964069b421d0c88199f1f6cee7c6d8cd /src/tools/rustdoc-gui-test
parent085c24790e591948f788fd294ca3f9858313741c (diff)
downloadrust-cf5788d30dfbb3532c1e4fc18b009bfa51edb310.tar.gz
rust-cf5788d30dfbb3532c1e4fc18b009bfa51edb310.zip
Rename `header` -> `directives`
compiletest has confusingly two terminology to refer to the same concept
-- "headers" and "directives". To make this more self-consistent and
less confusing, stick with "directives" only.

This commit **intentionally** tries to be limited to move-only (modulo
some key usage reference renames) to help git history.
Diffstat (limited to 'src/tools/rustdoc-gui-test')
-rw-r--r--src/tools/rustdoc-gui-test/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rustdoc-gui-test/src/main.rs b/src/tools/rustdoc-gui-test/src/main.rs
index addb0af4a54..6461f38f527 100644
--- a/src/tools/rustdoc-gui-test/src/main.rs
+++ b/src/tools/rustdoc-gui-test/src/main.rs
@@ -4,7 +4,7 @@ use std::sync::Arc;
 use std::{env, fs};
 
 use build_helper::util::try_run;
-use compiletest::header::TestProps;
+use compiletest::directives::TestProps;
 use config::Config;
 
 mod config;