You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* automatically generated by rust-bindgen 0.58.1 */#[allow(non_snake_case, non_camel_case_types, non_upper_case_globals)]pubmod root {#[allow(unused_imports)]useself::super::root;pubmod e {#[allow(unused_imports)]useself::super::super::root;#[repr(C)]pubstructd{_unused:[u8;0],}#[repr(C)]pubstructf{pub_address:u8,}pubtypef_iterator = root::iterator;}pubmod g {#[allow(unused_imports)]useself::super::super::root;#[repr(C)]pubstructi{_unused:[u8;0],}#[repr(C)]pubstructh{pub_address:u8,}pubtypeh_iterator = root::iterator;}pubtypeiterator = root::e::d;pubtypeiterator = root::g::i;}
(layout tests and derives omitted for clarity)
error[E0428]: the name `iterator` is defined multiple times
--> src/lib.rs:34:5
|
33 | pub type iterator = root::e::d;
| ------------------------------- previous definition of the type `iterator` here
34 | pub type iterator = root::g::i;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `iterator` redefined here
|
= note: `iterator` must be defined only once in the type namespace of this module
error: aborting due to previous error
For more information about this error, try `rustc --explain E0428`.
Expected Results
Two definitions of iterator should not be emitted in the root namespace.
The text was updated successfully, but these errors were encountered:
Input C/C++ Header
Bindgen Invocation
Actual Results
(layout tests and derives omitted for clarity)
Expected Results
Two definitions of
iterator
should not be emitted in the root namespace.The text was updated successfully, but these errors were encountered: