mirror of
https://github.com/stickynotememo/wolf_renderer.git
synced 2026-07-30 06:46:03 +10:00
15 lines
215 B
Rust
15 lines
215 B
Rust
mod foo {
|
|
pub type FooType = u32;
|
|
}
|
|
|
|
// use foo::FooType; // Removing this line does not cause the bug
|
|
mod bar {
|
|
pub fn bar_func() {
|
|
let val: FooType = 4;
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
bar::bar_func();
|
|
}
|