about summary refs log tree commit diff
path: root/tests/ui/async-await
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-05-03 15:53:52 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-06-23 21:30:56 +0300
commit7a4f09c2240ef2eb4d1e383f0d471b85ce8d0720 (patch)
tree6730649dd8126cd1ff858af5bb74ea68699d85d1 /tests/ui/async-await
parent42245d34d22ade32b3f276dcf74deb826841594c (diff)
downloadrust-7a4f09c2240ef2eb4d1e383f0d471b85ce8d0720.tar.gz
rust-7a4f09c2240ef2eb4d1e383f0d471b85ce8d0720.zip
compiletest: Improve diagnostics for line annotation mismatches
Diffstat (limited to 'tests/ui/async-await')
-rw-r--r--tests/ui/async-await/incorrect-move-async-order-issue-79694.fixed2
-rw-r--r--tests/ui/async-await/incorrect-move-async-order-issue-79694.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/async-await/incorrect-move-async-order-issue-79694.fixed b/tests/ui/async-await/incorrect-move-async-order-issue-79694.fixed
index c74a32e442f..9e5e889506c 100644
--- a/tests/ui/async-await/incorrect-move-async-order-issue-79694.fixed
+++ b/tests/ui/async-await/incorrect-move-async-order-issue-79694.fixed
@@ -4,5 +4,5 @@
 // Regression test for issue 79694
 
 fn main() {
-    let _ = async move { }; //~ ERROR 7:13: 7:23: the order of `move` and `async` is incorrect
+    let _ = async move { }; //~ ERROR the order of `move` and `async` is incorrect
 }
diff --git a/tests/ui/async-await/incorrect-move-async-order-issue-79694.rs b/tests/ui/async-await/incorrect-move-async-order-issue-79694.rs
index 81ffbacc327..9c36a6c96da 100644
--- a/tests/ui/async-await/incorrect-move-async-order-issue-79694.rs
+++ b/tests/ui/async-await/incorrect-move-async-order-issue-79694.rs
@@ -4,5 +4,5 @@
 // Regression test for issue 79694
 
 fn main() {
-    let _ = move async { }; //~ ERROR 7:13: 7:23: the order of `move` and `async` is incorrect
+    let _ = move async { }; //~ ERROR the order of `move` and `async` is incorrect
 }