Skip to main content

Module prefixes

Module prefixes 

Source
Expand description

From the NLL RFC: “Shallow prefixes are found by stripping away fields, but stop at any dereference. So: writing a path like a is illegal if a.b is borrowed. But: writing a is legal if *a is borrowed, whether or not a is a shared or mutable reference. […] “

Re-exports§

use rustc_middle::mir::PlaceRef; 🔒
use rustc_middle::mir::ProjectionElem; 🔒
use super::MirBorrowckCtxt; 🔒

Structs§

Prefixes 🔒

Enums§

PrefixSet 🔒