]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_borrowck/src/location.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / compiler / rustc_borrowck / src / location.rs
index c89da5514fd154e474a6a4a89853dad62d4d0d80..70a3116949894f7a8a423ca266277206a547a0a4 100644 (file)
@@ -30,7 +30,7 @@ pub enum RichLocation {
 }
 
 impl LocationTable {
-    crate fn new(body: &Body<'_>) -> Self {
+    pub(crate) fn new(body: &Body<'_>) -> Self {
         let mut num_points = 0;
         let statements_before_block = body
             .basic_blocks()