diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-11-21 21:46:17 +0100 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-11-21 22:11:08 +0100 |
| commit | c089a162d80dbbcc0543649fa78ccabac569db81 (patch) | |
| tree | d1fd132db609a56ae341b59f30bdbf215c183bda /compiler/rustc_symbol_mangling/src | |
| parent | 097261f241d0295a84a1fc754639e58202ea7e8e (diff) | |
| download | rust-c089a162d80dbbcc0543649fa78ccabac569db81.tar.gz rust-c089a162d80dbbcc0543649fa78ccabac569db81.zip | |
Fix some unnecessary casts
`x clippy compiler -Aclippy::all -Wclippy::unnecessary_cast --fix` with some manual review to ensure every fix is correct.
Diffstat (limited to 'compiler/rustc_symbol_mangling/src')
| -rw-r--r-- | compiler/rustc_symbol_mangling/src/v0.rs | 2 |
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 01cbee3a715..88989806997 100644 --- a/compiler/rustc_symbol_mangling/src/v0.rs +++ b/compiler/rustc_symbol_mangling/src/v0.rs @@ -189,7 +189,7 @@ impl<'tcx> SymbolMangler<'tcx> { self.push("N"); self.out.push(ns); print_prefix(self)?; - self.push_disambiguator(disambiguator as u64); + self.push_disambiguator(disambiguator); self.push_ident(name); Ok(()) } |
