pub fn inject(
    sess: &Session,
    resolver: &mut dyn ResolverExpand,
    krate: Crate,
    is_proc_macro_crate: bool,
    has_proc_macro_decls: bool,
    is_test_crate: bool,
    handler: &Handler
) -> Crate