]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/inconsistent_struct_constructor.stderr
Add a test for FP in macro expansion
[rust.git] / tests / ui / inconsistent_struct_constructor.stderr
index d021bb19579f4baa6c3d4cd5fa8fd9e58c4f7c1c..ef308dedb1661c331703d68d9ab973477f473d51 100644 (file)
@@ -1,5 +1,5 @@
 error: struct constructor field order is inconsistent with struct definition field order
-  --> $DIR/inconsistent_struct_constructor.rs:25:9
+  --> $DIR/inconsistent_struct_constructor.rs:34:9
    |
 LL |         Foo { y, x, z };
    |         ^^^^^^^^^^^^^^^ help: try: `Foo { x, y, z }`
@@ -7,7 +7,7 @@ LL |         Foo { y, x, z };
    = note: `-D clippy::inconsistent-struct-constructor` implied by `-D warnings`
 
 error: struct constructor field order is inconsistent with struct definition field order
-  --> $DIR/inconsistent_struct_constructor.rs:43:9
+  --> $DIR/inconsistent_struct_constructor.rs:56:9
    |
 LL | /         Foo {
 LL | |             z,