Combine in rustc_attr_parsing::context::early - Rust
Description: API documentation for the Rust `Combine` type in crate `rustc_attr_parsing`.

Skip to main content

## Combine

# Type Alias Combine

Source

    type Combine<T> = Combine<T, Early>;

## Aliased Type§

    struct Combine<T> {
        phantom: PhantomData<(Early, T)>,
        items: ThinVec<<T as CombineAttributeParser<Early>>::Item>,
        first_span: Option<Span>,
    }

## Fields§

§`phantom: PhantomData<(Early, T)>`§`items: ThinVec<<T as CombineAttributeParser<Early>>::Item>`

A list of all items produced by parsing attributes so far. One attribute can produce any amount of items.

§`first_span: Option<Span>`

The full span of the first attribute that was encountered.

## Layout§

Note: Encountered an error during type layout; the type failed to be normalized.