about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-09-12 10:43:18 +0200
committerGitHub <noreply@github.com>2020-09-12 10:43:18 +0200
commita49451c805d182d4f47096de8bd1d79f6c7af12b (patch)
tree2b27e4f79df899812ff121a0dafa039281347a23 /compiler/rustc_codegen_llvm/src
parentc20356e96b706f8bc480d905abf218163dc9ff30 (diff)
parentb729368d4e6a7e6a85dd4189ca16d49622a1582a (diff)
downloadrust-a49451c805d182d4f47096de8bd1d79f6c7af12b.tar.gz
rust-a49451c805d182d4f47096de8bd1d79f6c7af12b.zip
Rollup merge of #76530 - carbotaniuman:fix-rc, r=RalfJung
Eliminate mut reference UB in Drop impl for Rc<T>

This changes `self.ptr.as_mut()` with `get_mut_unchecked` which
does not use an intermediate reference.  Arc<T> already handled this
case properly.

Fixes #76509
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions