Closed
Description
Discovered in #56693.
Currently, if a crate re-exports an item from another crate with resolution failures, then those resolution failures get reported for the original crate. Since the downstream crate has no way to fix the resolution failure in the upstream crate, it shouldn't be reported, much like capping lints.
As of this writing, std::io::Error
has an intra-link resolution failure in one of its impls. So, the following code triggers the issue.
use std::io::Error;
A fix for this issue should take care to still report failures for re-exports within the same crate.
cc #43466