mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 07:10:19 +00:00
fix: allow unused imports in marine-test-env (#111)
allow unused imports in marine-test-env
This commit is contained in:
parent
eedc0050f9
commit
05321fe7b0
@ -166,6 +166,7 @@ fn generate_test_glue_code_single_service(
|
||||
// definitions for wasm modules specified in config
|
||||
#[allow(unused)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(unused_imports)]
|
||||
pub mod marine_test_env {
|
||||
#(#module_definitions)*
|
||||
}
|
||||
@ -202,6 +203,7 @@ fn generate_test_glue_code_multiple_services(
|
||||
let marine_test_env = quote! {
|
||||
#[allow(unused)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(unused_imports)]
|
||||
pub mod marine_test_env {
|
||||
#(#service_definitions)*
|
||||
}
|
||||
@ -230,6 +232,7 @@ pub(super) fn generate_marine_test_env_for_build_script(
|
||||
let marine_test_env = quote! {
|
||||
#[allow(dead_code)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(unused_imports)]
|
||||
pub mod marine_test_env {
|
||||
#(#service_definitions)*
|
||||
}
|
||||
|
@ -2,6 +2,7 @@
|
||||
fn empty_string() {
|
||||
#[allow(unused)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(unused_imports)]
|
||||
pub mod marine_test_env {
|
||||
pub mod greeting {
|
||||
#[derive(
|
||||
|
@ -2,6 +2,7 @@
|
||||
fn test() {
|
||||
#[allow(unused)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(unused_imports)]
|
||||
pub mod marine_test_env {
|
||||
pub mod greeting {
|
||||
#[derive(
|
||||
|
@ -2,6 +2,7 @@
|
||||
pub mod tests {
|
||||
#[allow(unused)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(unused_imports)]
|
||||
pub mod marine_test_env {
|
||||
pub mod empty_mod {
|
||||
pub mod modules {
|
||||
|
@ -2,6 +2,7 @@
|
||||
fn test() {
|
||||
#[allow(unused)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(unused_imports)]
|
||||
pub mod marine_test_env {
|
||||
pub mod empty_func {
|
||||
pub mod modules {
|
||||
|
@ -2,6 +2,7 @@
|
||||
fn empty_test() {
|
||||
#[allow(unused)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(unused_imports)]
|
||||
pub mod marine_test_env {
|
||||
pub mod empty_func {
|
||||
pub mod modules {
|
||||
|
@ -2,6 +2,7 @@
|
||||
fn empty_string() {
|
||||
#[allow(unused)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(unused_imports)]
|
||||
pub mod marine_test_env {
|
||||
pub mod greeting {
|
||||
#[derive(
|
||||
|
Loading…
Reference in New Issue
Block a user