Function rustc_driver::util::create_session [−][src]
pub fn create_session(
sopts: Options,
cfg: HashSet<(String, Option<String>), BuildHasherDefault<FxHasher>>,
diagnostic_output: DiagnosticOutput,
file_loader: Option<Box<dyn FileLoader + Send + Sync + 'static, Global>>,
input_path: Option<PathBuf>,
lint_caps: HashMap<LintId, Level, BuildHasherDefault<FxHasher>>,
make_codegen_backend: Option<Box<dyn FnOnce(&Options) + Send + 'static, Global>>,
descriptions: Registry
) -> (Rc<Session>, Rc<Box<dyn CodegenBackend + 'static, Global>>)