diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-30 14:07:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-30 14:07:53 +0200 |
| commit | 58d955e6cc84b92a6013a3e170e076f65a0c1b18 (patch) | |
| tree | 311eed86e28394afb831c12b9943f32f602f7076 /src/rustllvm/RustWrapper.cpp | |
| parent | 4e6772b52bc9832bb47bedba61abdcfb4ba0128e (diff) | |
| parent | a9858791134253d004971664fd7e9bd9b0983723 (diff) | |
| download | rust-58d955e6cc84b92a6013a3e170e076f65a0c1b18.tar.gz rust-58d955e6cc84b92a6013a3e170e076f65a0c1b18.zip | |
Rollup merge of #71540 - ldm0:ref2ptr, r=oli-obk
Suggest deref when coercing `ty::Ref` to `ty::RawPtr` Fixes #32122 Currently we do autoderef when casting `ty::Ref` ->`ty::Ref`, but we don't autoderef when casting `ty::Ref` -> `ty::RawPtr`. This PR make the compiler suggests deref when coercing `ty::Ref` to `ty::RawPtr`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
