You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/ConstrainedShapeSymbolProvider.kt
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -168,10 +168,15 @@ class ConstrainedShapeSymbolProvider(
168
168
} else {
169
169
// For List, Union and Map, the new shape defined for a constrained member shape
170
170
// need to be placed into an inline module named `pub {container_name_in_snake_case}`
171
-
val innerModuleName =RustReservedWords.escapeIfNeeded(container.id.name.toSnakeCase())
171
+
val innerModuleName =RustReservedWords.escapeIfNeeded(container.id.name.toSnakeCase()) +if (pubCrateServerBuilder) {
0 commit comments