2020-01-07 10:53:33 -06:00
|
|
|
pub use crate::extern_exports::*;
|
|
|
|
|
|
|
|
pub fn extern_foo() {}
|
|
|
|
pub fn extern_bar() {}
|
|
|
|
|
|
|
|
pub struct ExternA;
|
|
|
|
|
|
|
|
pub mod inner {
|
|
|
|
pub mod inner_for_self_import {
|
|
|
|
pub fn inner_extern_foo() {}
|
|
|
|
pub fn inner_extern_bar() {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mod extern_exports {
|
|
|
|
pub fn extern_exported() {}
|
|
|
|
pub struct ExternExportedStruct;
|
|
|
|
pub enum ExternExportedEnum {
|
|
|
|
A,
|
|
|
|
}
|
|
|
|
}
|
2020-08-28 09:10:16 -05:00
|
|
|
|
|
|
|
pub mod prelude {
|
|
|
|
pub mod v1 {
|
|
|
|
pub struct PreludeModAnywhere;
|
|
|
|
}
|
|
|
|
}
|
2023-06-02 04:41:57 -05:00
|
|
|
|
|
|
|
pub mod extern_prelude {
|
|
|
|
pub mod v1 {
|
|
|
|
pub struct ExternPreludeModAnywhere;
|
|
|
|
}
|
|
|
|
}
|