Update Object structure to enforce edge endpoints corresponding to vertices

This commit is contained in:
2026-01-16 11:18:06 +11:00
parent 81f2a0591b
commit 4af9b418e9
6 changed files with 96 additions and 44 deletions
+14
View File
@@ -0,0 +1,14 @@
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();
}