Reduce visibility of some functions.
This commit is contained in:
@@ -275,7 +275,7 @@ pub struct Config {
|
||||
pub registry: Registry,
|
||||
}
|
||||
|
||||
pub fn create_compiler_and_run<R>(config: Config, f: impl FnOnce(&Compiler) -> R) -> R {
|
||||
fn create_compiler_and_run<R>(config: Config, f: impl FnOnce(&Compiler) -> R) -> R {
|
||||
crate::callbacks::setup_callbacks();
|
||||
|
||||
let registry = &config.registry;
|
||||
|
||||
Reference in New Issue
Block a user