about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-01-25 17:01:43 +0530
committerGitHub <noreply@github.com>2023-01-25 17:01:43 +0530
commit24066910ca31d5ccab6586f7d68a789103dd8ae0 (patch)
tree332b06604e656743e0ac95117feb82aa7141d740 /compiler/rustc_codegen_llvm/src/errors.rs
parent4e2b5d1f549208d1fc791b816078429cff64b1b1 (diff)
parent236f8231a64241d3fb3b9d81a8cd3175367e691d (diff)
downloadrust-24066910ca31d5ccab6586f7d68a789103dd8ae0.tar.gz
rust-24066910ca31d5ccab6586f7d68a789103dd8ae0.zip
Rollup merge of #107223 - ChayimFriedman2:patch-5, r=WaffleLapkin
`sub_ptr()` is equivalent to `usize::try_from().unwrap_unchecked()`, not `usize::from().unwrap_unchecked()`

`usize::from()` gives a `usize`, not `Result<usize>`, and `usize: From<isize>` is not implemented.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions