diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-12 10:43:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-12 10:43:18 +0200 |
| commit | a49451c805d182d4f47096de8bd1d79f6c7af12b (patch) | |
| tree | 2b27e4f79df899812ff121a0dafa039281347a23 /compiler/rustc_codegen_llvm/src | |
| parent | c20356e96b706f8bc480d905abf218163dc9ff30 (diff) | |
| parent | b729368d4e6a7e6a85dd4189ca16d49622a1582a (diff) | |
| download | rust-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
