Skip to content

Commit ac6e609

Browse files
committed
Fix codegen failure tests for 1.76.0 Rust
1 parent 2ce7dae commit ac6e609

6 files changed

+6
-6
lines changed

tests/codegen/fail/interface/trait/argument_wrong_default_array.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
55
| ^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
66
|
77
= help: the following other types implement trait `From<T>`:
8-
<[bool; LANES] as From<Mask<T, LANES>>>
8+
<[bool; N] as From<Mask<T, N>>>
99
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
1010
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
1111
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>

tests/codegen/fail/interface/trait/wrong_syntax.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ error[E0609]: no field `self` on type `&Self`
1919
| --------------- type parameter 'Self' declared here
2020
...
2121
9 | self.self.id()
22-
| ^^^^
22+
| ^^^^ unknown field

tests/codegen/fail/object/argument_wrong_default_array.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
55
| ^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
66
|
77
= help: the following other types implement trait `From<T>`:
8-
<[bool; LANES] as From<Mask<T, LANES>>>
8+
<[bool; N] as From<Mask<T, N>>>
99
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
1010
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
1111
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>

tests/codegen/fail/object/attr_wrong_syntax.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ error[E0609]: no field `self` on type `&MyObject`
1212
10 | self.self.my_field
1313
| ^^^^ unknown field
1414
|
15-
= note: available fields are: `my_field`
15+
= note: available field is: `my_field`

tests/codegen/fail/subscription/argument_wrong_default_array.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
55
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
66
|
77
= help: the following other types implement trait `From<T>`:
8-
<[bool; LANES] as From<Mask<T, LANES>>>
8+
<[bool; N] as From<Mask<T, N>>>
99
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
1010
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
1111
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>

tests/codegen/fail/subscription/wrong_syntax.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ error[E0609]: no field `self` on type `&ObjA`
1212
15 | Box::pin(stream::once(future::ready(self.self.field)))
1313
| ^^^^ unknown field
1414
|
15-
= note: available fields are: `field`
15+
= note: available field is: `field`

0 commit comments

Comments
 (0)