fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0255]: the name `issue_56411_aux` is defined multiple times 2 --> $DIR/issue-56411.rs:6:21 3 | 4LL | mod $name; 5 | ---------- previous definition of the module `issue_56411_aux` here 6LL | pub use self::$name; 7 | ^^^^^^^^^^^ 8 | | 9 | `issue_56411_aux` reimported here 10 | you can use `as` to change the binding name of the import 11... 12LL | import!(("issue-56411-aux.rs", issue_56411_aux)); 13 | ------------------------------------------------- in this macro invocation 14 | 15 = note: `issue_56411_aux` must be defined only once in the type namespace of this module 16 17error[E0365]: `issue_56411_aux` is private, and cannot be re-exported 18 --> $DIR/issue-56411.rs:6:21 19 | 20LL | pub use self::$name; 21 | ^^^^^^^^^^^ re-export of private `issue_56411_aux` 22... 23LL | import!(("issue-56411-aux.rs", issue_56411_aux)); 24 | ------------------------------------------------- in this macro invocation 25 | 26 = note: consider declaring type or module `issue_56411_aux` with `pub` 27 28error: aborting due to 2 previous errors 29 30Some errors have detailed explanations: E0255, E0365. 31For more information about an error, try `rustc --explain E0255`.