Module rustc::session [] [src]

🔬 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

config [
Experimental
]

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

filesearch [
Experimental
]
search_paths [
Experimental
]

Structs

CodeStats [
Experimental
]
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.

TypeSizeInfo [
Experimental
]
VariantInfo [
Experimental
]

Enums

CompileIncomplete [
Experimental
]
DataTypeKind [
Experimental
]
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

bug_fmt [
Experimental
]
build_session [
Experimental
]
build_session_ [
Experimental
]
build_session_with_codemap [
Experimental
]
compile_result_from_err_count [
Experimental
]
early_error [
Experimental
]
early_warn [
Experimental
]
span_bug_fmt [
Experimental
]

Type Definitions

CompileResult [
Experimental
]