[−][src]Function rustc_interface::passes::configure_and_expand
pub fn configure_and_expand(
sess: Lrc<Session>,
lint_store: Lrc<LintStore>,
metadata_loader: Box<MetadataLoaderDyn>,
krate: Crate,
crate_name: &str
) -> Result<(Crate, BoxedResolver)>
Runs the "early phases" of the compiler: initial cfg processing, loading compiler plugins,
syntax expansion, secondary cfg expansion, synthesis of a test
harness if one is to be provided, injection of a dependency on the
standard library and prelude, and name resolution.
Returns None if we're aborting after handling -W help.