about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/suggestions/only-replace-intended-coma-not-all-in-pattern.fixed (renamed from tests/ui/suggestions/only-replace-intended-bar-not-all-in-pattern.fixed)2
-rw-r--r--tests/ui/suggestions/only-replace-intended-coma-not-all-in-pattern.rs (renamed from tests/ui/suggestions/only-replace-intended-bar-not-all-in-pattern.rs)2
-rw-r--r--tests/ui/suggestions/only-replace-intended-coma-not-all-in-pattern.stderr (renamed from tests/ui/suggestions/only-replace-intended-bar-not-all-in-pattern.stderr)2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/suggestions/only-replace-intended-bar-not-all-in-pattern.fixed b/tests/ui/suggestions/only-replace-intended-coma-not-all-in-pattern.fixed
index 5abc1edd381..0258f868f00 100644
--- a/tests/ui/suggestions/only-replace-intended-bar-not-all-in-pattern.fixed
+++ b/tests/ui/suggestions/only-replace-intended-coma-not-all-in-pattern.fixed
@@ -1,7 +1,7 @@
 //@ run-rustfix
 
 // Regression test for issue #143330.
-// Ensure we suggest to replace only the intended bar with a comma, not all bars in the pattern.
+// Ensure we suggest to replace only the intended coma with a bar, not all commas in the pattern.
 
 fn main() {
     struct Foo { x: i32, ch: char }
diff --git a/tests/ui/suggestions/only-replace-intended-bar-not-all-in-pattern.rs b/tests/ui/suggestions/only-replace-intended-coma-not-all-in-pattern.rs
index 5bd267c3bc4..7d5087fa0ff 100644
--- a/tests/ui/suggestions/only-replace-intended-bar-not-all-in-pattern.rs
+++ b/tests/ui/suggestions/only-replace-intended-coma-not-all-in-pattern.rs
@@ -1,7 +1,7 @@
 //@ run-rustfix
 
 // Regression test for issue #143330.
-// Ensure we suggest to replace only the intended bar with a comma, not all bars in the pattern.
+// Ensure we suggest to replace only the intended coma with a bar, not all commas in the pattern.
 
 fn main() {
     struct Foo { x: i32, ch: char }
diff --git a/tests/ui/suggestions/only-replace-intended-bar-not-all-in-pattern.stderr b/tests/ui/suggestions/only-replace-intended-coma-not-all-in-pattern.stderr
index db0bb8c50e8..050f1b8a2b3 100644
--- a/tests/ui/suggestions/only-replace-intended-bar-not-all-in-pattern.stderr
+++ b/tests/ui/suggestions/only-replace-intended-coma-not-all-in-pattern.stderr
@@ -1,5 +1,5 @@
 error: unexpected `,` in pattern
-  --> $DIR/only-replace-intended-bar-not-all-in-pattern.rs:12:30
+  --> $DIR/only-replace-intended-coma-not-all-in-pattern.rs:12:30
    |
 LL |         Foo { x: 2, ch: ',' }, Foo { x: 3, ch: '@' } => (),
    |                              ^