类型本身并没有被弃用,只是名为例如std::i8的模块中包含的常量被弃用。例如,std::i8::MIN将被替换为i8::MIN(文档)。弃用通知如下:Deprecating in a future Rust version: all constants in this module replaced by associated constants on i8
std::i8
等的 _模块_,其中包含这些常量。 - Kevin Reid