Skip to content

Commit

Permalink
Revert "fixup test"
Browse files Browse the repository at this point in the history
This reverts commit 6b72426.
  • Loading branch information
pkhry committed Nov 20, 2024
1 parent 6b72426 commit 616be8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_suite/tests/ui/fail_with_invalid_codec_attrs.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ error: Invalid attribute on field, only `#[codec(skip)]`, `#[codec(compact)]` an
--> tests/ui/fail_with_invalid_codec_attrs.rs:8:7
|
8 | #[codec(skip, compact)]
| ^^^^^^^^^^^^^^^^^^^^
| ^^^^^

error: Invalid attribute on field, only `#[codec(skip)]`, `#[codec(compact)]` and `#[codec(encoded_as = "$EncodeAs")]` are accepted.
--> tests/ui/fail_with_invalid_codec_attrs.rs:14:19
|
14 | Thing(#[codec(index = 3)] u32),
| ^^^^^^^^^
| ^^^^^

error: expected literal
--> tests/ui/fail_with_invalid_codec_attrs.rs:19:21
Expand Down

0 comments on commit 616be8b

Please sign in to comment.