about summary refs log tree commit diff
path: root/tests/coverage/macro_name_span.rs
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/macro_name_span.rs
parentcbf10affb04c701c58087f450f63e769ad25f3c4 (diff)
downloadrust-6e48b96692d63a79a14563f27fe5185f122434f8.tar.gz
rust-6e48b96692d63a79a14563f27fe5185f122434f8.zip
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
Diffstat (limited to 'tests/coverage/macro_name_span.rs')
-rw-r--r--tests/coverage/macro_name_span.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/macro_name_span.rs b/tests/coverage/macro_name_span.rs
index 5d15977c498..178c7ded962 100644
--- a/tests/coverage/macro_name_span.rs
+++ b/tests/coverage/macro_name_span.rs
@@ -1,11 +1,11 @@
-// edition: 2021
+//@ edition: 2021
 
 // Regression test for <https://github.com/rust-lang/rust/issues/117788>.
 // Under some circumstances, the heuristics that detect macro name spans can
 // get confused and produce incorrect spans beyond the bounds of the span
 // being processed.
 
-// aux-build: macro_name_span_helper.rs
+//@ aux-build: macro_name_span_helper.rs
 extern crate macro_name_span_helper;
 
 fn main() {