Skip to content

Commit ebf8842

Browse files
committed
merge fix
1 parent 4a0baea commit ebf8842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/serialize/CborSerializerGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ class CborSerializerGenerator(
455455
}
456456
if (codegenTarget.renderUnknownVariant()) {
457457
rustTemplate(
458-
"#{Union}::${UnionGenerator.UnknownVariantName} => return Err(#{Error}::unknown_variant(${unionSymbol.name.dq()}))",
458+
"#{Union}::${UnionGenerator.UNKNOWN_VARIANT_NAME} => return Err(#{Error}::unknown_variant(${unionSymbol.name.dq()}))",
459459
"Union" to unionSymbol,
460460
*codegenScope,
461461
)

0 commit comments

Comments
 (0)