Skip to content

Commit

Permalink
Fix codegen failure tests for 1.76.0 Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Feb 9, 2024
1 parent 2ce7dae commit ac6e609
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
|
= help: the following other types implement trait `From<T>`:
<[bool; LANES] as From<Mask<T, LANES>>>
<[bool; N] as From<Mask<T, N>>>
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>
Expand Down
2 changes: 1 addition & 1 deletion tests/codegen/fail/interface/trait/wrong_syntax.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ error[E0609]: no field `self` on type `&Self`
| --------------- type parameter 'Self' declared here
...
9 | self.self.id()
| ^^^^
| ^^^^ unknown field
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
| ^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
|
= help: the following other types implement trait `From<T>`:
<[bool; LANES] as From<Mask<T, LANES>>>
<[bool; N] as From<Mask<T, N>>>
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>
Expand Down
2 changes: 1 addition & 1 deletion tests/codegen/fail/object/attr_wrong_syntax.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ error[E0609]: no field `self` on type `&MyObject`
10 | self.self.my_field
| ^^^^ unknown field
|
= note: available fields are: `my_field`
= note: available field is: `my_field`
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
|
= help: the following other types implement trait `From<T>`:
<[bool; LANES] as From<Mask<T, LANES>>>
<[bool; N] as From<Mask<T, N>>>
<[u32; 4] as From<ppv_lite86::x86_64::vec128_storage>>
<[u32; 8] as From<ppv_lite86::x86_64::vec256_storage>>
<[u32; 16] as From<ppv_lite86::x86_64::vec512_storage>>
Expand Down
2 changes: 1 addition & 1 deletion tests/codegen/fail/subscription/wrong_syntax.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ error[E0609]: no field `self` on type `&ObjA`
15 | Box::pin(stream::once(future::ready(self.self.field)))
| ^^^^ unknown field
|
= note: available fields are: `field`
= note: available field is: `field`

0 comments on commit ac6e609

Please sign in to comment.