<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> I tried this code: ```rust union B { a: A, b: f32 } struct A { data: i32, len: usize, } ``` I expected to see this happen: compile without error Instead, this happened: ``` <source>:2:8: error: failed to lookup HIR 16 for node 'A' 2 | a: A, | ^ ``` see: https://godbolt.org/z/jY4bEWK3z ### Meta - What version of Rust GCC were you using, git sha if possible. b82408fd6a17762fcb6fc7b5efe9307a3e59f8b7