Skip to content

Commit

Permalink
Update trybuild for stable 1.75.0 (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcampbell0x2a authored Dec 28, 2023
1 parent f2835bd commit c905a64
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tests/test_compile/cases/temp_field.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@ error[E0063]: missing field `field_a` in initializer of `Test1`
|
= note: this error originates in the derive macro `DekuRead` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0027]: pattern does not mention field `field_a`
error: pattern requires `..` due to inaccessible fields
--> $DIR/temp_field.rs:4:20
|
4 | #[derive(DekuRead, DekuWrite)]
| ^^^^^^^^^ missing field `field_a`
| ^^^^^^^^^
|
= note: this error originates in the derive macro `DekuWrite` (in Nightly builds, run with -Z macro-backtrace for more info)
help: include the missing field in the pattern
help: ignore the inaccessible and unused fields
|
4 | #[derive(DekuRead, DekuWrite { field_a })]
| +++++++++++
help: if you don't care about this missing field, you can explicitly ignore it
|
4 | #[derive(DekuRead, DekuWrite { .. })]
| ++++++
4 | #[derive(DekuRead, DekuWrite { .. } {
| ~~~~~~

0 comments on commit c905a64

Please sign in to comment.