use column; // error: cannot import a built-in macro
fn main() {}
The reason behind this error is that if you import something with a DefId, that DefId should be supported by all stages of compilation (metadata emitting specifically), but built-in macros don't have such a DefId.
The crate ID in their DefId has special value CrateNum::BuiltinMacros that is supported only inside rustc_resolve and causes ICEs every time it leaves it.
The reason behind this error is that if you import something with a
DefId, thatDefIdshould be supported by all stages of compilation (metadata emitting specifically), but built-in macros don't have such aDefId.The crate ID in their
DefIdhas special valueCrateNum::BuiltinMacrosthat is supported only inside rustc_resolve and causes ICEs every time it leaves it.