about summary refs log tree commit diff
path: root/src/test/ui/tuple/tuple-struct-fields
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/tuple/tuple-struct-fields')
-rw-r--r--src/test/ui/tuple/tuple-struct-fields/test2.stderr2
-rw-r--r--src/test/ui/tuple/tuple-struct-fields/test3.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/tuple/tuple-struct-fields/test2.stderr b/src/test/ui/tuple/tuple-struct-fields/test2.stderr
index baca625b0bd..80f0ddc0e4f 100644
--- a/src/test/ui/tuple/tuple-struct-fields/test2.stderr
+++ b/src/test/ui/tuple/tuple-struct-fields/test2.stderr
@@ -8,7 +8,7 @@ LL |     define_struct! { (foo) } //~ ERROR cannot find type `foo` in this scope
    |     ------------------------ in this macro invocation
 
 error[E0412]: cannot find type `foo` in this scope
-  --> $DIR/test2.rs:21:23
+  --> $DIR/test2.rs:11:23
    |
 LL |     define_struct! { (foo) } //~ ERROR cannot find type `foo` in this scope
    |                       ^^^ not found in this scope
diff --git a/src/test/ui/tuple/tuple-struct-fields/test3.stderr b/src/test/ui/tuple/tuple-struct-fields/test3.stderr
index 2da34fff53d..fbc01744fe4 100644
--- a/src/test/ui/tuple/tuple-struct-fields/test3.stderr
+++ b/src/test/ui/tuple/tuple-struct-fields/test3.stderr
@@ -8,7 +8,7 @@ LL |     define_struct! { foo } //~ ERROR cannot find type `foo` in this scope
    |     ---------------------- in this macro invocation
 
 error[E0412]: cannot find type `foo` in this scope
-  --> $DIR/test3.rs:21:22
+  --> $DIR/test3.rs:11:22
    |
 LL |     define_struct! { foo } //~ ERROR cannot find type `foo` in this scope
    |                      ^^^ not found in this scope