1 error[E0255]: the name `issue_56411_aux` is defined multiple times
2 --> $DIR/issue-56411.rs:6:21
5 | ---------- previous definition of the module `issue_56411_aux` here
6 LL | pub use self::$name;
9 | `issue_56411_aux` reimported here
10 | you can use `as` to change the binding name of the import
12 LL | import!(("issue-56411-aux.rs", issue_56411_aux));
13 | ------------------------------------------------ in this macro invocation
15 = note: `issue_56411_aux` must be defined only once in the type namespace of this module
16 = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info)
18 error[E0365]: `issue_56411_aux` is only public within the crate, and cannot be re-exported outside
19 --> $DIR/issue-56411.rs:6:21
21 LL | pub use self::$name;
22 | ^^^^^^^^^^^ re-export of crate public `issue_56411_aux`
24 LL | import!(("issue-56411-aux.rs", issue_56411_aux));
25 | ------------------------------------------------ in this macro invocation
27 = note: consider declaring type or module `issue_56411_aux` with `pub`
28 = note: this error originates in the macro `import` (in Nightly builds, run with -Z macro-backtrace for more info)
30 error: aborting due to 2 previous errors
32 Some errors have detailed explanations: E0255, E0365.
33 For more information about an error, try `rustc --explain E0255`.