about summary refs log tree commit diff
path: root/src/test/ui/empty-struct-unit-expr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/empty-struct-unit-expr.stderr')
-rw-r--r--src/test/ui/empty-struct-unit-expr.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/empty-struct-unit-expr.stderr b/src/test/ui/empty-struct-unit-expr.stderr
index 0c722dd645d..3ce63ed9f42 100644
--- a/src/test/ui/empty-struct-unit-expr.stderr
+++ b/src/test/ui/empty-struct-unit-expr.stderr
@@ -24,15 +24,15 @@ note: defined here
    |     ^^^^^^
 
 error[E0618]: expected function, found `empty_struct::XEmpty2`
-  --> $DIR/empty-struct-unit-expr.rs:29:15
+  --> $DIR/empty-struct-unit-expr.rs:28:15
    |
-29 |     let xe2 = XEmpty2(); //~ ERROR expected function, found `empty_struct::XEmpty2`
+28 |     let xe2 = XEmpty2(); //~ ERROR expected function, found `empty_struct::XEmpty2`
    |               ^^^^^^^^^
 
 error[E0618]: expected function, found `XE::XEmpty4`
-  --> $DIR/empty-struct-unit-expr.rs:30:15
+  --> $DIR/empty-struct-unit-expr.rs:29:15
    |
-30 |     let xe4 = XE::XEmpty4();
+29 |     let xe4 = XE::XEmpty4();
    |               ^^^^^^^^^^^^^
    |
    = help: did you mean to write `XE::XEmpty4`?