The regression was introduced in https://github.com/rust-lang/rust/pull/95645. It seems that we're trying to get too many items. cc @petrochenkov