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};
44
44
use std::{env, fs, iter};
45
45
use tracing::{info, instrument};
46
46
47
- pub fn parse<'a>(sess: &'a Session) -> Result<ast::Crate> {
47
+ pub(crate) fn parse<'a>(sess: &'a Session) -> Result<ast::Crate> {
48
48
let krate = sess
49
49
.time("parse_crate", || {
50
50
let mut parser = unwrap_or_emit_fatal(match &sess.io.input {
@@ -643,7 +643,7 @@ pub static DEFAULT_QUERY_PROVIDERS: LazyLock<Providers> = LazyLock::new(|| {
643
643
*providers
644
644
});
645
645
646
- pub fn create_global_ctxt<'tcx>(
646
+ pub(crate) fn create_global_ctxt<'tcx>(
647
647
compiler: &'tcx Compiler,
648
648
mut krate: rustc_ast::Crate,
649
649
gcx_cell: &'tcx OnceLock<GlobalCtxt<'tcx>>,
You can’t perform that action at this time.
0 commit comments