[][src]Crate rustc

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

The "main crate" of the Rust compiler. This crate contains common type definitions that are used by the other crates in the rustc "family". Some prominent examples (note that each of these modules has their own README with further details).

For more information about how rustc works, see the rustc guide.

Note

This API is completely unstable and subject to change.

Re-exports

pub use rustc_session as session;

Modules

arenaInternal
dep_graphInternal
hirInternal

HIR datatypes. See the rustc guide for more info.

ichInternal

ICH - Incremental Compilation Hash

inferInternal

See the Book for more information.

lintInternal
macrosInternal
middleInternal
mirInternal

MIR datatypes and passes. See the rustc guide for more info.

queryInternal
traitsInternal

Trait Resolution. See the rustc guide for more information on how this works.

tyInternal
utilInternal

Macros

CloneLiftImplsInternal
CloneTypeFoldableAndLiftImplsInternal
CloneTypeFoldableImplsInternal

Used for types that are Copy and which do not care arena allocated data (i.e., don't need to be folded).

EnumTypeFoldableImplInternal
__impl_decoder_methodsInternal
arena_typesInternal

This declares a list of types which can be allocated by Arena.

bugInternal
err_exhaustInternal
err_invalInternal
err_panicInternal
err_ubInternal
err_ub_formatInternal
err_unsupInternal
err_unsup_formatInternal
impl_arena_allocatable_decoderInternal
impl_arena_allocatable_decodersInternal
implement_ty_decoderInternal
read_onlyInternal
span_bugInternal
throw_exhaustInternal
throw_invalInternal
throw_machine_stopInternal
throw_panicInternal
throw_ubInternal
throw_ub_formatInternal
throw_unsupInternal
throw_unsup_formatInternal