Skip to content

Commit 02e7b83

Browse files
committed
Make as_any() required method for trait objects
1 parent 3e09af7 commit 02e7b83

File tree

6 files changed

+95
-89
lines changed

6 files changed

+95
-89
lines changed

aws/codegen-aws-sdk/src/main/kotlin/software/amazon/smithy/rustsdk/ObservabilityMetricDecorator.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import software.amazon.smithy.rust.codegen.client.smithy.customize.ClientCodegen
1010
import software.amazon.smithy.rust.codegen.client.smithy.generators.ServiceRuntimePluginCustomization
1111
import software.amazon.smithy.rust.codegen.client.smithy.generators.ServiceRuntimePluginSection
1212
import software.amazon.smithy.rust.codegen.core.rustlang.CargoDependency
13+
import software.amazon.smithy.rust.codegen.core.rustlang.Visibility
1314
import software.amazon.smithy.rust.codegen.core.rustlang.rustTemplate
1415
import software.amazon.smithy.rust.codegen.core.rustlang.writable
1516
import software.amazon.smithy.rust.codegen.core.smithy.RuntimeType
@@ -41,6 +42,7 @@ private class ObservabilityFeatureTrackerInterceptor(private val codegenContext:
4142
RuntimeType.forInlineDependency(
4243
InlineAwsDependency.forRustFile(
4344
"observability_feature",
45+
Visibility.PRIVATE,
4446
CargoDependency.smithyObservability(runtimeConfig),
4547
CargoDependency.smithyObservabilityOtel(runtimeConfig),
4648
),

aws/rust-runtime/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)