diff options
Diffstat (limited to 'tests/rust_usage_test')
-rw-r--r-- | tests/rust_usage_test/benches/flatbuffers_benchmarks.rs | 1 | ||||
-rw-r--r-- | tests/rust_usage_test/bin/alloc_check.rs | 1 | ||||
-rw-r--r-- | tests/rust_usage_test/bin/monster_example.rs | 1 | ||||
-rw-r--r-- | tests/rust_usage_test/tests/integration_test.rs | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/rust_usage_test/benches/flatbuffers_benchmarks.rs b/tests/rust_usage_test/benches/flatbuffers_benchmarks.rs index 3ad45c28..2c6be1f3 100644 --- a/tests/rust_usage_test/benches/flatbuffers_benchmarks.rs +++ b/tests/rust_usage_test/benches/flatbuffers_benchmarks.rs @@ -20,6 +20,7 @@ use bencher::Bencher; extern crate flatbuffers; +#[allow(dead_code, unused_imports)] #[path = "../../monster_test_generated.rs"] mod monster_test_generated; pub use monster_test_generated::my_game; diff --git a/tests/rust_usage_test/bin/alloc_check.rs b/tests/rust_usage_test/bin/alloc_check.rs index 7fb3ef33..ae1039cb 100644 --- a/tests/rust_usage_test/bin/alloc_check.rs +++ b/tests/rust_usage_test/bin/alloc_check.rs @@ -28,6 +28,7 @@ static A: TrackingAllocator = TrackingAllocator; // import the flatbuffers generated code: extern crate flatbuffers; +#[allow(dead_code, unused_imports)] #[path = "../../monster_test_generated.rs"] mod monster_test_generated; pub use monster_test_generated::my_game; diff --git a/tests/rust_usage_test/bin/monster_example.rs b/tests/rust_usage_test/bin/monster_example.rs index e415a952..3c9a0a0e 100644 --- a/tests/rust_usage_test/bin/monster_example.rs +++ b/tests/rust_usage_test/bin/monster_example.rs @@ -1,5 +1,6 @@ extern crate flatbuffers; +#[allow(dead_code, unused_imports)] #[path = "../../monster_test_generated.rs"] mod monster_test_generated; pub use monster_test_generated::my_game; diff --git a/tests/rust_usage_test/tests/integration_test.rs b/tests/rust_usage_test/tests/integration_test.rs index 538df034..0dace96d 100644 --- a/tests/rust_usage_test/tests/integration_test.rs +++ b/tests/rust_usage_test/tests/integration_test.rs @@ -19,6 +19,7 @@ extern crate quickcheck; extern crate flatbuffers; +#[allow(dead_code, unused_imports)] #[path = "../../monster_test_generated.rs"] mod monster_test_generated; pub use monster_test_generated::my_game; |