Commit 3f6fddf
committed
Fix unused object parameters in empty structure serialization
Extends the unused variable fix to handle function parameters in addition to union match variables. For empty structures, both object and input parameters are prefixed with underscore to prevent unused variable warnings in CI.
Addresses CI failure in shape_player_action.rs1 parent 04956de commit 3f6fddf
File tree
1 file changed
+6
-3
lines changed- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/serialize
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
358 | 360 | | |
359 | 361 | | |
360 | 362 | | |
361 | | - | |
362 | | - | |
| 363 | + | |
| 364 | + | |
363 | 365 | | |
364 | 366 | | |
365 | 367 | | |
366 | 368 | | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
370 | | - | |
| 372 | + | |
| 373 | + | |
371 | 374 | | |
372 | 375 | | |
373 | 376 | | |
| |||
0 commit comments