rustc_resolve::imports

Type Alias Import

source
pub(crate) type Import<'ra> = Interned<'ra, ImportData<'ra>>;
Expand description

All imports are unique and allocated on a same arena, so we can use referential equality to compare them.

Aliased Type§

struct Import<'ra>(pub &'ra ImportData<'ra>, pub PrivateZst);

Fields§

§0: &'ra ImportData<'ra>§1: PrivateZst

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes