about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorTobias Decking <Tobias.Decking@gmail.com>2024-04-14 15:01:04 +0200
committerGitHub <noreply@github.com>2024-04-14 15:01:04 +0200
commite5cf30cd63422ac689ec419a3bee0b35d75ca7d8 (patch)
tree30266ed6fbae4d36038acf43d0c64e52ba95e28d /compiler
parentbe7fb2ed554757260b018fda581d416271d2fae3 (diff)
downloadrust-e5cf30cd63422ac689ec419a3bee0b35d75ca7d8.tar.gz
rust-e5cf30cd63422ac689ec419a3bee0b35d75ca7d8.zip
Update v0.rs
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_symbol_mangling/src/v0.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_symbol_mangling/src/v0.rs b/compiler/rustc_symbol_mangling/src/v0.rs
index cb255fabfe2..58b67c77a61 100644
--- a/compiler/rustc_symbol_mangling/src/v0.rs
+++ b/compiler/rustc_symbol_mangling/src/v0.rs
@@ -831,7 +831,7 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> {
 ///   e.g. `1` becomes `"0_"`, `62` becomes `"Z_"`, etc.
 pub(crate) fn push_integer_62(x: u64, output: &mut String) {
     if let Some(x) = x.checked_sub(1) {
-        base_n::push_str(x as u128, 62, output);
+        base_n::push_str(x as u128, base_n::ALPHANUMERIC_ONLY, output);
     }
     output.push('_');
 }