[][src]Module rustc::session

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Modules

code_stats [
Experimental
]
config [
Experimental
]

Contains infrastructure for configuring the compiler, including parsing command line options.

filesearch [
Experimental
]
search_paths [
Experimental
]

Structs

CrateDisambiguator [
Experimental
]

Hash value constructed out of all the -C metadata arguments passed to the compiler. Together with the crate-name forms a unique global identifier for the crate.

FieldInfo [
Experimental
]
PerfStats [
Experimental
]
Session [
Experimental
]

Represents the data associated with a compilation session for a single crate.

VariantInfo [
Experimental
]

Enums

CompileIncomplete [
Experimental
]
DataTypeKind [
Experimental
]
DiagnosticBuilderMethod [
Experimental
]

Enum to support dispatch of one-time diagnostics (in Session.diag_once)

DiagnosticMessageId [
Experimental
]

Diagnostic message ID—used by Session.one_time_diagnostics to avoid emitting the same message more than once

IncrCompSession [
Experimental
]

Holds data on the current incremental compilation session, if there is one.

SizeKind [
Experimental
]

Functions

build_session [
Experimental
]
build_session_ [
Experimental
]
build_session_with_source_map [
Experimental
]
compile_result_from_err_count [
Experimental
]
early_error [
Experimental
]
early_warn [
Experimental
]
validate_commandline_args_with_session_available [
Experimental
]

Type Definitions

CompileResult [
Experimental
]