Skip to content

Commit 2ead471

Browse files
committed
fix tests
1 parent 63f7f5a commit 2ead471

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/ui/issues/issue-4736.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LL | let z = NonCopyable{ p: () };
1010
help: `NonCopyable` is a tuple struct, use the appropriate syntax
1111
|
1212
LL - let z = NonCopyable{ p: () };
13-
LL + let z = NonCopyable(/* fields */);
13+
LL + let z = NonCopyable(/* () */);
1414
|
1515

1616
error: aborting due to 1 previous error

tests/ui/issues/issue-80607.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LL | Enum::V1 { x }
1010
help: `Enum::V1` is a tuple variant, use the appropriate syntax
1111
|
1212
LL - Enum::V1 { x }
13-
LL + Enum::V1(/* fields */)
13+
LL + Enum::V1(/* i32 */)
1414
|
1515

1616
error: aborting due to 1 previous error

tests/ui/numeric/numeric-fields.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LL | let s = S{0b1: 10, 0: 11};
1010
help: `S` is a tuple struct, use the appropriate syntax
1111
|
1212
LL - let s = S{0b1: 10, 0: 11};
13-
LL + let s = S(/* fields */);
13+
LL + let s = S(/* u8 */, /* u16 */);
1414
|
1515

1616
error[E0026]: struct `S` does not have a field named `0x1`

0 commit comments

Comments
 (0)