File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_interface/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ use std::sync::{Arc, LazyLock};
4444use std:: { env, fs, iter} ;
4545use tracing:: { info, instrument} ;
4646
47- pub fn parse < ' a > ( sess : & ' a Session ) -> Result < ast:: Crate > {
47+ pub ( crate ) fn parse < ' a > ( sess : & ' a Session ) -> Result < ast:: Crate > {
4848 let krate = sess
4949 . time ( "parse_crate" , || {
5050 let mut parser = unwrap_or_emit_fatal ( match & sess. io . input {
@@ -643,7 +643,7 @@ pub static DEFAULT_QUERY_PROVIDERS: LazyLock<Providers> = LazyLock::new(|| {
643643 * providers
644644} ) ;
645645
646- pub fn create_global_ctxt < ' tcx > (
646+ pub ( crate ) fn create_global_ctxt < ' tcx > (
647647 compiler : & ' tcx Compiler ,
648648 mut krate : rustc_ast:: Crate ,
649649 gcx_cell : & ' tcx OnceLock < GlobalCtxt < ' tcx > > ,
You can’t perform that action at this time.
0 commit comments