FieldUniquenessCheckContext in rustc_hir_analysis::collect - Rust (original) (raw)

Struct FieldUniquenessCheckContext

Source

struct FieldUniquenessCheckContext<'tcx> {
    tcx: TyCtxt<'tcx>,
    seen_fields: FxIndexMap<Ident, FieldDeclSpan>,
}

Source§

Source

Source

Check if a given field ident declared at field_decl has been declared elsewhere before.

§

§

§

§

§

§

§

§

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: 64 bytes