summaryrefslogtreecommitdiff
path: root/tests/namespace_test/namespace_test1_generated.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/namespace_test/namespace_test1_generated.rs')
-rw-r--r--tests/namespace_test/namespace_test1_generated.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/namespace_test/namespace_test1_generated.rs b/tests/namespace_test/namespace_test1_generated.rs
index fc877543..0f293925 100644
--- a/tests/namespace_test/namespace_test1_generated.rs
+++ b/tests/namespace_test/namespace_test1_generated.rs
@@ -6,7 +6,7 @@ use std::mem;
use std::cmp::Ordering;
extern crate flatbuffers;
-use self::flatbuffers::EndianScalar;
+use self::flatbuffers::{EndianScalar, Follow};
#[allow(unused_imports, dead_code)]
pub mod namespace_a {
@@ -15,7 +15,7 @@ pub mod namespace_a {
use std::cmp::Ordering;
extern crate flatbuffers;
- use self::flatbuffers::EndianScalar;
+ use self::flatbuffers::{EndianScalar, Follow};
#[allow(unused_imports, dead_code)]
pub mod namespace_b {
@@ -23,7 +23,7 @@ pub mod namespace_b {
use std::cmp::Ordering;
extern crate flatbuffers;
- use self::flatbuffers::EndianScalar;
+ use self::flatbuffers::{EndianScalar, Follow};
#[deprecated(since = "2.0.0", note = "Use associated constants instead. This will no longer be generated in 2021.")]
pub const ENUM_MIN_UNION_IN_NESTED_NS: u8 = 0;
@@ -312,7 +312,7 @@ impl<'a> flatbuffers::Verifiable for StructInNestedNS {
v.in_buffer::<Self>(pos)
}
}
-impl StructInNestedNS {
+impl<'a> StructInNestedNS {
#[allow(clippy::too_many_arguments)]
pub fn new(
a: i32,