diff options
| author | ouz-a <ouz.agz@gmail.com> | 2023-08-16 08:43:30 +0300 |
|---|---|---|
| committer | ouz-a <ouz.agz@gmail.com> | 2023-10-02 23:37:49 +0300 |
| commit | 3148e6a9933b17b28ed6c7b8d8bd6c8e49fe4a50 (patch) | |
| tree | 15b25c07516fd4df1199c59c59464fdf0dea0b89 /compiler/rustc_codegen_cranelift | |
| parent | 177091258c039398d30137b52e1c575a98aa7597 (diff) | |
| download | rust-3148e6a9933b17b28ed6c7b8d8bd6c8e49fe4a50.tar.gz rust-3148e6a9933b17b28ed6c7b8d8bd6c8e49fe4a50.zip | |
subtyping_projections
Diffstat (limited to 'compiler/rustc_codegen_cranelift')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/base.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/base.rs b/compiler/rustc_codegen_cranelift/src/base.rs index 6d55fdc3074..06780567fb8 100644 --- a/compiler/rustc_codegen_cranelift/src/base.rs +++ b/compiler/rustc_codegen_cranelift/src/base.rs @@ -872,6 +872,9 @@ pub(crate) fn codegen_place<'tcx>( for elem in place.projection { match elem { + PlaceElem::Subtype(_) => { + continue; + } PlaceElem::Deref => { cplace = cplace.place_deref(fx); } |
