about summary refs log tree commit diff
path: root/tests/coverage-run-rustdoc
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-22 12:10:29 +0000
committer许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-22 16:04:04 +0000
commit6e48b96692d63a79a14563f27fe5185f122434f8 (patch)
tree171bd5869f5d38c5b2b5d8e6dae91884cde9a173 /tests/coverage-run-rustdoc
parentcbf10affb04c701c58087f450f63e769ad25f3c4 (diff)
downloadrust-6e48b96692d63a79a14563f27fe5185f122434f8.tar.gz
rust-6e48b96692d63a79a14563f27fe5185f122434f8.zip
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
Diffstat (limited to 'tests/coverage-run-rustdoc')
-rw-r--r--tests/coverage-run-rustdoc/doctest.coverage2
-rw-r--r--tests/coverage-run-rustdoc/doctest.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage-run-rustdoc/doctest.coverage b/tests/coverage-run-rustdoc/doctest.coverage
index 5125dc075ee..1bbf364759b 100644
--- a/tests/coverage-run-rustdoc/doctest.coverage
+++ b/tests/coverage-run-rustdoc/doctest.coverage
@@ -10,7 +10,7 @@ $DIR/auxiliary/doctest_crate.rs:
    LL|      3|}
 
 $DIR/doctest.rs:
-   LL|       |// aux-build:doctest_crate.rs
+   LL|       |//@ aux-build:doctest_crate.rs
    LL|       |
    LL|       |//! This test ensures that code from doctests is properly re-mapped.
    LL|       |//! See <https://github.com/rust-lang/rust/issues/79417> for more info.
diff --git a/tests/coverage-run-rustdoc/doctest.rs b/tests/coverage-run-rustdoc/doctest.rs
index 4006d723ce0..ddf493ae1f2 100644
--- a/tests/coverage-run-rustdoc/doctest.rs
+++ b/tests/coverage-run-rustdoc/doctest.rs
@@ -1,4 +1,4 @@
-// aux-build:doctest_crate.rs
+//@ aux-build:doctest_crate.rs
 
 //! This test ensures that code from doctests is properly re-mapped.
 //! See <https://github.com/rust-lang/rust/issues/79417> for more info.