]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_monomorphize/src/util.rs
Auto merge of #99137 - jackh726:wf-no-infcx, r=estebank
[rust.git] / compiler / rustc_monomorphize / src / util.rs
index 04baa01832be64e171a8178d9442bda61e978039..d3aaad46015619dd97d027dd49bacb11d23811a9 100644 (file)
@@ -7,7 +7,7 @@
 ///
 /// During the same compile all closures dump the information in the same file
 /// "closure_profile_XXXXX.csv", which is created in the directory where the compiler is invoked.
-crate fn dump_closure_profile<'tcx>(tcx: TyCtxt<'tcx>, closure_instance: Instance<'tcx>) {
+pub(crate) fn dump_closure_profile<'tcx>(tcx: TyCtxt<'tcx>, closure_instance: Instance<'tcx>) {
     let Ok(mut file) = OpenOptions::new()
         .create(true)
         .append(true)