Skip to content

Commit

Permalink
test: Update stderr file
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Nov 12, 2024
1 parent edb06cc commit ba33a6d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions sylvia/tests/ui/attributes/data/invalid_params.stderr
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
error: Invalid data parameter.

= note: Expected one of [`raw`, `opt`, `instantiate`] comma separated.
--> tests/ui/attributes/data/invalid_params.rs:25:20
--> tests/ui/attributes/data/invalid_params.rs:28:24
|
25 | #[sv::data(invalid)] _data: Option<Binary>,
| ^^^^^^^
28 | #[sv::data(invalid)] _data: Option<Binary>,
| ^^^^^^^

error: The `instantiate` cannot be used in pair with `raw` parameter.

= note: Use any combination of [`raw`, `opt`] or [`instantiate`, `opt`] pairs.

--> tests/ui/attributes/data/invalid_params.rs:57:24
|
57 | #[sv::data(instantiate, raw)] _data: Option<Binary>,
| ^^^^^^^^^^^

0 comments on commit ba33a6d

Please sign in to comment.