diff --git a/providers/pulumi_wasm_provider_cloudflare/src/lib.rs b/providers/pulumi_wasm_provider_cloudflare/src/lib.rs index 04bc47418..3e8987bca 100644 --- a/providers/pulumi_wasm_provider_cloudflare/src/lib.rs +++ b/providers/pulumi_wasm_provider_cloudflare/src/lib.rs @@ -3,6 +3,7 @@ mod function; #[allow(unused_braces)] #[allow(unused_imports)] +#[allow(static_mut_refs)] mod bindings; bindings::export!(Component with_types_in bindings); diff --git a/providers/pulumi_wasm_provider_docker/src/lib.rs b/providers/pulumi_wasm_provider_docker/src/lib.rs index 04bc47418..3e8987bca 100644 --- a/providers/pulumi_wasm_provider_docker/src/lib.rs +++ b/providers/pulumi_wasm_provider_docker/src/lib.rs @@ -3,6 +3,7 @@ mod function; #[allow(unused_braces)] #[allow(unused_imports)] +#[allow(static_mut_refs)] mod bindings; bindings::export!(Component with_types_in bindings); diff --git a/providers/pulumi_wasm_provider_random/src/lib.rs b/providers/pulumi_wasm_provider_random/src/lib.rs index 5d036ff0a..b7a2350e1 100644 --- a/providers/pulumi_wasm_provider_random/src/lib.rs +++ b/providers/pulumi_wasm_provider_random/src/lib.rs @@ -2,6 +2,7 @@ mod resource; #[allow(unused_braces)] #[allow(unused_imports)] +#[allow(static_mut_refs)] mod bindings; bindings::export!(Component with_types_in bindings); diff --git a/pulumi_wasm/src/lib.rs b/pulumi_wasm/src/lib.rs index cc86f2d2a..3ed7289a5 100644 --- a/pulumi_wasm/src/lib.rs +++ b/pulumi_wasm/src/lib.rs @@ -23,6 +23,7 @@ bindings::export!(Component with_types_in bindings); #[allow(clippy::all)] #[allow(unused_braces)] +#[allow(static_mut_refs)] #[rustfmt::skip] mod bindings; diff --git a/pulumi_wasm_generator_lib/src/output/provider/lib.rs.handlebars b/pulumi_wasm_generator_lib/src/output/provider/lib.rs.handlebars index 88774a054..3bcf99a9e 100644 --- a/pulumi_wasm_generator_lib/src/output/provider/lib.rs.handlebars +++ b/pulumi_wasm_generator_lib/src/output/provider/lib.rs.handlebars @@ -8,6 +8,7 @@ mod function; {{#if package.contains_resources_or_functions}} #[allow(unused_braces)] #[allow(unused_imports)] +#[allow(static_mut_refs)] mod bindings; bindings::export!(Component with_types_in bindings); {{/if}} diff --git a/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/src/lib.rs b/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/src/lib.rs index 04bc47418..3e8987bca 100644 --- a/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/src/lib.rs +++ b/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/src/lib.rs @@ -3,6 +3,7 @@ mod function; #[allow(unused_braces)] #[allow(unused_imports)] +#[allow(static_mut_refs)] mod bindings; bindings::export!(Component with_types_in bindings);