about summary refs log tree commit diff
path: root/tests/ui/lint/dead-code/tuple-struct-field.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/dead-code/tuple-struct-field.stderr')
-rw-r--r--tests/ui/lint/dead-code/tuple-struct-field.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/lint/dead-code/tuple-struct-field.stderr b/tests/ui/lint/dead-code/tuple-struct-field.stderr
index 434554d7ae5..3e1d4e77274 100644
--- a/tests/ui/lint/dead-code/tuple-struct-field.stderr
+++ b/tests/ui/lint/dead-code/tuple-struct-field.stderr
@@ -33,8 +33,9 @@ LL | struct UnusedInTheMiddle(i32, f32, String, u8, u32);
    |
 help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
    |
-LL | struct UnusedInTheMiddle(i32, (), (), u8, ());
-   |                               ~~  ~~      ~~
+LL - struct UnusedInTheMiddle(i32, f32, String, u8, u32);
+LL + struct UnusedInTheMiddle(i32, (), (), u8, ());
+   |
 
 error: aborting due to 3 previous errors