about summary refs log tree commit diff
path: root/tests/ui/svh
diff options
context:
space:
mode:
authorKivooeo <Kivooeo123@gmail.com>2025-07-01 20:20:14 +0500
committerKivooeo <Kivooeo123@gmail.com>2025-07-13 00:03:31 +0500
commit98934707eb7824cd48ee3889d4570c1406c39ba4 (patch)
treeea1189bcf19374f2c0c23a546c3133f2999117a9 /tests/ui/svh
parent47b8a32ca311e2c441f4e7d747bfd75f0045baa1 (diff)
downloadrust-98934707eb7824cd48ee3889d4570c1406c39ba4.tar.gz
rust-98934707eb7824cd48ee3889d4570c1406c39ba4.zip
cleaned up some tests
Additionally, remove unused `tests/ui/auxiliary/svh-*` crates that are duplicates of `tests/ui/svh/auxiliary/svh-*`.
Diffstat (limited to 'tests/ui/svh')
-rw-r--r--tests/ui/svh/svh-no-api-change-no-recompile.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/ui/svh/svh-no-api-change-no-recompile.rs b/tests/ui/svh/svh-no-api-change-no-recompile.rs
index 6e4b9fa7f4c..d4b8ac77444 100644
--- a/tests/ui/svh/svh-no-api-change-no-recompile.rs
+++ b/tests/ui/svh/svh-no-api-change-no-recompile.rs
@@ -1,10 +1,17 @@
+//! This test verifies that the Signature Version Hash (SVH) system correctly identifies
+//! when changes to an auxiliary crate do not affect its public API.
+//!
+//! Specifically, it checks that adding non-public items to a crate does not alter
+//! its SVH, preventing unnecessary recompilations of dependent crates.
+
 //@ run-pass
-// note that these aux-build directives must be in this order
+
+// Note that these aux-build directives must be in this order
+
 //@ aux-build:svh-a-base.rs
 //@ aux-build:svh-b.rs
 //@ aux-build:svh-a-base.rs
 
-
 extern crate a;
 extern crate b;