]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_borrowck/src/place_ext.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / compiler / rustc_borrowck / src / place_ext.rs
index 83ff1595b0be44031dd044b5c2ba6d50dc372a22..93d202e49a159fc4173a852ce879d0941e3d16de 100644 (file)
@@ -5,7 +5,7 @@ use rustc_middle::mir::{Body, Mutability, Place};
 use rustc_middle::ty::{self, TyCtxt};
 
 /// Extension methods for the `Place` type.
-crate trait PlaceExt<'tcx> {
+pub(crate) trait PlaceExt<'tcx> {
     /// Returns `true` if we can safely ignore borrows of this place.
     /// This is true whenever there is no action that the user can do
     /// to the place `self` that would invalidate the borrow. This is true