Import errors work differently than other path resolution errors and don't call `find_cfg_stripped` yet. ```rust pub use a::x; mod a { #[cfg(no)] pub fn x() {} } fn main() {} ``` this should note that `x` has been configured out.