Make rustc_on_unimplemented
std-agnostic for alloc::rc
#115210
Merged
rustc_on_unimplemented
std-agnostic for alloc::rc
#115210