about summary refs log tree commit diff
path: root/src/test/ui/structs
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-08-20 12:52:56 +0100
committervarkor <github@varkor.com>2018-08-20 16:16:39 +0100
commitaa3b5c58e44beca0e96b46deb24f1bcb8d8c98a1 (patch)
tree67e6274e5ad004cdc1d1168f2d6fb36c07bd96a5 /src/test/ui/structs
parentae81fc61d0ec0978a4b67a1c2627cf99f9c1d653 (diff)
downloadrust-aa3b5c58e44beca0e96b46deb24f1bcb8d8c98a1.tar.gz
rust-aa3b5c58e44beca0e96b46deb24f1bcb8d8c98a1.zip
Fix diagnostic regression
Diffstat (limited to 'src/test/ui/structs')
-rw-r--r--src/test/ui/structs/structure-constructor-type-mismatch.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/structs/structure-constructor-type-mismatch.stderr b/src/test/ui/structs/structure-constructor-type-mismatch.stderr
index 88e3b85bca5..dfa219e0872 100644
--- a/src/test/ui/structs/structure-constructor-type-mismatch.stderr
+++ b/src/test/ui/structs/structure-constructor-type-mismatch.stderr
@@ -71,10 +71,10 @@ LL |         x: 7,
               found type `{integer}`
 
 error[E0244]: wrong number of type arguments: expected 0, found 1
-  --> $DIR/structure-constructor-type-mismatch.rs:58:15
+  --> $DIR/structure-constructor-type-mismatch.rs:58:24
    |
 LL |     let pt3 = PointF::<i32> { //~ ERROR wrong number of type arguments
-   |               ^^^^^^^^^^^^^ unexpected type argument
+   |                        ^^^ unexpected type argument
 
 error[E0308]: mismatched types
   --> $DIR/structure-constructor-type-mismatch.rs:59:12
@@ -101,10 +101,10 @@ LL |         y: 10, //~ ERROR mismatched types
               found type `{integer}`
 
 error[E0244]: wrong number of type arguments: expected 0, found 1
-  --> $DIR/structure-constructor-type-mismatch.rs:64:9
+  --> $DIR/structure-constructor-type-mismatch.rs:64:18
    |
 LL |         PointF::<u32> { .. } => {} //~ ERROR wrong number of type arguments
-   |         ^^^^^^^^^^^^^ unexpected type argument
+   |                  ^^^ unexpected type argument
 
 error[E0308]: mismatched types
   --> $DIR/structure-constructor-type-mismatch.rs:64:9