Skip to content

Commit e5cf30c

Browse files
authored
Update v0.rs
1 parent be7fb2e commit e5cf30c

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_symbol_mangling/src

1 file changed

+1
-1
lines changed

compiler/rustc_symbol_mangling/src/v0.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> {
831831
/// e.g. `1` becomes `"0_"`, `62` becomes `"Z_"`, etc.
832832
pub(crate) fn push_integer_62(x: u64, output: &mut String) {
833833
if let Some(x) = x.checked_sub(1) {
834-
base_n::push_str(x as u128, 62, output);
834+
base_n::push_str(x as u128, base_n::ALPHANUMERIC_ONLY, output);
835835
}
836836
output.push('_');
837837
}

0 commit comments

Comments
 (0)