[][src]Module rustc_typeck::astconv

🔬 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?

Conversion from AST representation of types to the ty.rs representation. The main routine here is ast_ty_to_ty(): each use is parameterized by an instance of AstConv.

Structs

Bounds [
Experimental
]
ConvertedBinding [
Experimental
]

Enums

GenericArgPosition [
Experimental
]

Constants

TRAIT_OBJECT_DUMMY_SELF [
Experimental
]

Dummy type used for the Self of a TraitRef created for converting a trait object, and which gets removed in ExistentialTraitRef. This type must not appear anywhere in other converted types.

Traits

AstConv [
Experimental
]

Functions

split_auto_traits [
Experimental
]

Divides a list of general trait bounds into two groups: auto traits (e.g. Sync and Send) and the remaining general trait bounds.