]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_borrowck/src/prefixes.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / compiler / rustc_borrowck / src / prefixes.rs
index bdf2becb711264eff522a8cbe962ea5db3888cc1..2b50cbac9a02da128786fa86e3ed5d80dcfa8b44 100644 (file)
@@ -81,6 +81,7 @@ impl<'cx, 'tcx> Iterator for Prefixes<'cx, 'tcx> {
                         }
                         ProjectionElem::Downcast(..)
                         | ProjectionElem::Subslice { .. }
+                        | ProjectionElem::OpaqueCast { .. }
                         | ProjectionElem::ConstantIndex { .. }
                         | ProjectionElem::Index(_) => {
                             cursor = cursor_base;