fix(lib): fix fallout of numeric reform

See rust-lang/rust#18827