-
- Downloads
Don't use `#[allow(unused)]` in generated code (#2211)
Most usages are in the server constrained types generators, where `#[allow(dead_code)]` suffices and makes the intent clearer. See https://stackoverflow.com/a/64556868
Showing
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/generators/EndpointResolverGenerator.kt 2 additions, 2 deletions...t/smithy/endpoint/generators/EndpointResolverGenerator.kt
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/rustlang/RustType.kt 0 additions, 1 deletion...ware/amazon/smithy/rust/codegen/core/rustlang/RustType.kt
- codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/ConstrainedBlobGenerator.kt 1 addition, 1 deletion...egen/server/smithy/generators/ConstrainedBlobGenerator.kt
- codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/ConstrainedCollectionGenerator.kt 1 addition, 1 deletion...erver/smithy/generators/ConstrainedCollectionGenerator.kt
- codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/ConstrainedMapGenerator.kt 1 addition, 1 deletion...degen/server/smithy/generators/ConstrainedMapGenerator.kt
- codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/ConstrainedNumberGenerator.kt 1 addition, 1 deletion...en/server/smithy/generators/ConstrainedNumberGenerator.kt
- codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/ConstrainedStringGenerator.kt 1 addition, 1 deletion...en/server/smithy/generators/ConstrainedStringGenerator.kt
Loading
Please register or sign in to comment