pub fn create_session(
    handler: &EarlyErrorHandler,
    sopts: Options,
    cfg: FxHashSet<(String, Option<String>)>,
    check_cfg: CheckCfg,
    locale_resources: &'static [&'static str],
    file_loader: Option<Box<dyn FileLoader + Send + Sync + 'static>>,
    io: CompilerIO,
    lint_caps: FxHashMap<LintId, Level>,
    make_codegen_backend: Option<Box<dyn FnOnce(&Options) -> Box<dyn CodegenBackend> + Send>>,
    descriptions: Registry,
    ice_file: Option<PathBuf>,
    expanded_args: Vec<String>
) -> (Session, Box<dyn CodegenBackend>)