ir: Fix the assert no danging items traversal to avoid getting hung on a cyclic reference caused by inner_const.hpp.
ir: Fix the assert no danging items traversal to avoid getting hung on a cyclic reference caused by inner_const.hpp.

rust-lang/rust-bindgen,emilio/rust-bindgen,emilio/rust-bindgen,rust-lang/rust-bindgen,emilio/rust-bindgen,rust-lang/rust-bindgen,emilio/rust-bindgen,rust-lang/rust-bindgen,emilio/rust-bindgen